  | 
		
DECwindows Motif for OpenVMS Guide to Non-C
Bindings
 
 
 
CREATE BITMAP FROM DATA
 
OpenVMS Format
 pixmap_id_return = X$CREATE_BITMAP_FROM_DATA
 (display, drawable_id, data, width, height)
 
  
Argument Information
  
    | Argument  | 
    Usage  | 
    Data Type  | 
    Access  | 
    Mechanism  | 
   
  
    | 
      pixmap_id_return
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      write
     | 
    
      value
     | 
   
  
    | 
      display
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      drawable_id
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      data
     | 
    
      array
     | 
    
      byte
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      width
     | 
    
      longword
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      height
     | 
    
      longword
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
 
 
CREATE COLORMAP
 
OpenVMS Format
 colormap_id_return = X$CREATE_COLORMAP
 (display, window_id, visual_struc, alloc)
 
  
Argument Information
  
    | Argument  | 
    Usage  | 
    Data Type  | 
    Access  | 
    Mechanism  | 
   
  
    | 
      colormap_id_return
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      write
     | 
    
      value
     | 
   
  
    | 
      display
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      window_id
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      visual_struc
     | 
    
      record
     | 
    
      x$visual
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      alloc
     | 
    
      longword
     | 
    
      longword
     | 
    
      read
     | 
    
      reference
     | 
   
 
 
Arguments
alloc
The allocation mode of color map entries. The values for
alloc are as follows:
  X$C_ALLOC_NONE
   X$C_ALLOC_ALL
 
Other values specified in this argument are not valid.
If static gray, static color, or true color is specified in
visual_struc, no entries can be allocated from the
color map.
  
 
CREATE FONT CURSOR
 
OpenVMS Format
 cursor_id_return = X$CREATE_FONT_CURSOR
 (display, cursor_shape)
 
  
Argument Information
  
    | Argument  | 
    Usage  | 
    Data Type  | 
    Access  | 
    Mechanism  | 
   
  
    | 
      cursor_id_return
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      write
     | 
    
      value
     | 
   
  
    | 
      display
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      cursor_shape
     | 
    
      longword
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
 
 
CREATE GC
 
OpenVMS Format
 gc_id_return = X$CREATE_GC
 (display, drawable_id, gc_mask, values_struc)
 
  
Argument Information
  
    | Argument  | 
    Usage  | 
    Data Type  | 
    Access  | 
    Mechanism  | 
   
  
    | 
      gc_id_return
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      write
     | 
    
      value
     | 
   
  
    | 
      display
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      drawable_id
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      gc_mask
     | 
    
      mask_longword
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      values_struc
     | 
    
      record
     | 
    
      x$gc_values
     | 
    
      read
     | 
    
      reference
     | 
   
 
 
CREATE GLYPH CURSOR
 
OpenVMS Format
 cursor_id_return = X$CREATE_GLYPH_CURSOR
 (display, src_font_id, mask_font_id, src_char, mask_char,
 foreground_color, background_color)
 
  
Argument Information
  
    | Argument  | 
    Usage  | 
    Data Type  | 
    Access  | 
    Mechanism  | 
   
  
    | 
      cursor_id_return
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      write
     | 
    
      value
     | 
   
  
    | 
      display
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      src_font_id
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      mask_font_id
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      src_char
     | 
    
      longword
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      mask_char
     | 
    
      longword
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      foreground_color
     | 
    
      record
     | 
    
      x$color
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      background_color
     | 
    
      record
     | 
    
      x$color
     | 
    
      read
     | 
    
      reference
     | 
   
 
 
CREATE IMAGE
 
OpenVMS Format
 status_return = X$CREATE_IMAGE
 (display, visual_struc, depth, image_format, offset, data, width,
 height, bitmap_pad, bytes_per_line, ximage_return)
 
  
Argument Information
  
    | Argument  | 
    Usage  | 
    Data Type  | 
    Access  | 
    Mechanism  | 
   
  
    | 
      status_return
     | 
    
      longword
     | 
    
      longword
     | 
    
      write
     | 
    
      value
     | 
   
  
    | 
      display
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      visual_struc
     | 
    
      record
     | 
    
      x$visual
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      depth
     | 
    
      longword
     | 
    
      longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      image_format
     | 
    
      longword
     | 
    
      longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      offset
     | 
    
      longword
     | 
    
      longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      data
     | 
    
      array
     | 
    
      byte
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      width
     | 
    
      longword
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      height
     | 
    
      longword
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      bitmap_pad
     | 
    
      longword
     | 
    
      longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      bytes_per_line
     | 
    
      longword
     | 
    
      longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      ximage_return
     | 
    
      record
     | 
    
      x$image
     | 
    
      write
     | 
    
      reference
     | 
   
 
 
Returns
status_return
Specifies whether the return completed successfully. CREATE IMAGE
returns one of the following values:
  
    | Value  | 
    Description  | 
   
  
    | 
      SS$_NORMAL
     | 
    
      Routine completed successfully.
     | 
   
  
    | 
      0
     | 
    
      Error received for failure.
     | 
   
 
 
 
Arguments
image_format
The format of the image that will be created and referenced by the
image data structure. The predefined values for
image_format are as follows:
  X$C_XY_BITMAP
   X$C_XY_PIXMAP
   X$C_Z_PIXMAP
 
Other values specified in this argument are not valid.
 
 
CREATE PIXMAP
 
OpenVMS Format
 pixmap_id_return = X$CREATE_PIXMAP
 (display, drawable_id, width, height, depth)
 
  
Argument Information
  
    | Argument  | 
    Usage  | 
    Data Type  | 
    Access  | 
    Mechanism  | 
   
  
    | 
      pixmap_id_return
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      write
     | 
    
      value
     | 
   
  
    | 
      display
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      drawable_id
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      width
     | 
    
      longword
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      height
     | 
    
      longword
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      depth
     | 
    
      longword
     | 
    
      longword
     | 
    
      read
     | 
    
      reference
     | 
   
 
 
CREATE PIXMAP FROM BITMAP DATA
 
OpenVMS Format
 pixmap_id_return = X$CREATE_PIXMAP_FROM_BITMAP_DATA
 (display, drawable_id, data, width, height, foreground, background,
 depth)
 
  
Argument Information
  
    | Argument  | 
    Usage  | 
    Data Type  | 
    Access  | 
    Mechanism  | 
   
  
    | 
      pixmap_id_return
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      write
     | 
    
      value
     | 
   
  
    | 
      display
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      drawable_id
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      data
     | 
    
      array
     | 
    
      byte
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      width
     | 
    
      longword
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      height
     | 
    
      longword
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      foreground
     | 
    
      longword
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      background
     | 
    
      longword
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      depth
     | 
    
      longword
     | 
    
      longword
     | 
    
      read
     | 
    
      reference
     | 
   
 
 
CREATE REGION
 
OpenVMS Format
 region_id_return = X$CREATE_REGION
  
Argument Information
  
    | Argument  | 
    Usage  | 
    Data Type  | 
    Access  | 
    Mechanism  | 
   
  
    | 
      region_id_return
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      write
     | 
    
      reference
     | 
   
 
 
CREATE SIMPLE WINDOW
 
OpenVMS Format
 window_id_return = X$CREATE_SIMPLE_WINDOW
 (display, parent_id, x_coord, y_coord, width, height, border_width,
 border_id, background_id)
 
  
Argument Information
  
    | Argument  | 
    Usage  | 
    Data Type  | 
    Access  | 
    Mechanism  | 
   
  
    | 
      window_id_return
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      write
     | 
    
      value
     | 
   
  
    | 
      display
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      parent_id
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      x_coord
     | 
    
      longword
     | 
    
      longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      y_coord
     | 
    
      longword
     | 
    
      longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      width
     | 
    
      uns longword
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      height
     | 
    
      uns longword
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      border_width
     | 
    
      uns longword
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      border_id
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      background_id
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
 
 
CREATE WINDOW
 
OpenVMS Format
 window_id_return = X$CREATE_WINDOW
 (display, parent_id, x_coord, y_coord, width, height, border_width,
 depth, class, visual_struc, attributes_mask, attributes)
 
  
Argument Information
  
    | Argument  | 
    Usage  | 
    Data Type  | 
    Access  | 
    Mechanism  | 
   
  
    | 
      window_id_return
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      write
     | 
    
      reference
     | 
   
  
    | 
      display
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      parent_id
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      x_coord
     | 
    
      longword
     | 
    
      longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      y_coord
     | 
    
      longword
     | 
    
      longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      width
     | 
    
      uns longword
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      height
     | 
    
      uns longword
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      border_width
     | 
    
      uns longword
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      depth
     | 
    
      longword
     | 
    
      longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      class
     | 
    
      longword
     | 
    
      longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      visual_struc
     | 
    
      record
     | 
    
      x$visual
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      attributes_mask
     | 
    
      uns longword
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      attributes
     | 
    
      record
     | 
    
      x$set_win_attributes
     | 
    
      read
     | 
    
      reference
     | 
   
 
 
DEFAULT COLORMAP
 
OpenVMS Format
 colormap_id_return = X$DEFAULT_COLORMAP
 (display, screen_number)
 
  
Argument Information
  
    | Argument  | 
    Usage  | 
    Data Type  | 
    Access  | 
    Mechanism  | 
   
  
    | 
      colormap_id_return
     | 
    
      identifier
     | 
    
      longword
     | 
    
      write
     | 
    
      value
     | 
   
  
    | 
      display
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
  
    | 
      screen_number
     | 
    
      uns longword
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
 
 
DEFAULT COLORMAP OF SCREEN
 
OpenVMS Format
 colormap_id_return = X$DEFAULT_COLORMAP_OF_SCREEN
 (screen_id)
 
  
Argument Information
  
    | Argument  | 
    Usage  | 
    Data Type  | 
    Access  | 
    Mechanism  | 
   
  
    | 
      colormap_id_return
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      write
     | 
    
      value
     | 
   
  
    | 
      screen_id
     | 
    
      identifier
     | 
    
      uns longword
     | 
    
      read
     | 
    
      reference
     | 
   
 
  
  
		 |