|
XmGetColors(3) -- A function that generates foreground, select, and shadow colors
|
XmGetColors takes a screen, a colormap, and a background pixel, and returns pixel values for foreground, select, and shadow colors. screen Specifies the screen for which these colors should be allocated. colormap Specifies the colormap from which these colors should be allocated. background Specifies the background on which the colors should be based. foreground Specifies a pointer to the returned... |
XmGetDestination(3) -- A function that returns the widget ID of the widget to be used as the current destination for quick paste and
|
XmGetDestination returns the widget that is the current destination on the specified display. The destination is generally the last editable widget on which a select, edit, insert, or paste operation was performed and is the destination for quick paste and certain clipboard functions. The destination is NULL until a keyboard or mouse operation has been done on an editable widget. Refer to the Moti... |
XmGetDragContext(3) -- A Drag and Drop function that retrieves the DragContext widget ID associated with a timestamp
|
XmGetDragContext returns the widget ID of the active DragContext associated with a given display and timestamp. A timestamp uniquely identifies which DragContext is active when more than one drag and drop transaction has been initiated on a display. If the specified timestamp matches a timestamp processed between the start and finish of a single drag and drop transaction, the function returns the ... |
XmGetFocusWidget(3) -- Returns the ID of the widget that has keyboard focus
|
XmGetFocusWidget examines the hierarchy that contains the specified widget and returns the ID of the widget that has keyboard focus. The function extracts the widget ID from the associated Shell widget; therefore, the specified widget can be located anywhere in the hierarchy. widget Specifies a widget ID within a given hierarchy |
XmGetMenuCursor(3) -- A function that returns the cursor ID for the current menu cursor
|
XmGetMenuCursor queries the menu cursor currently being used by this client on the specified display and returns the cursor ID. This function returns the menu cursor for the default screen of the display. NOTE: XmGetMenuCursor is obsolete and exists for compatibility with previous releases. Instead of using this function, call XtGetValues for the XmScreen resource XmNmenuCursor. display Specifies ... |
XmGetPixmap(3) -- A pixmap caching function that generates a pixmap, stores it in a pixmap cache, and returns the pixmap
|
XmGetPixmap uses the parameter data to perform a lookup in the pixmap cache to see if a pixmap has already been generated that matches the data. If one is found, a reference count is incremented and the pixmap is returned. Applications should use XmDestroyPixmap when the pixmap is no longer needed. screen Specifies the display screen on which the pixmap is to be drawn. The depth of the pixmap is t... |
XmGetPixmapByDepth(3) -- A pixmap caching function that generates a pixmap, stores it in a pixmap cache, and returns the pixmap
|
XmGetPixmapByDepth uses the parameter data to perform a lookup in the pixmap cache to see if a pixmap has already been generated that matches the data. If one is found, a reference count is incremented and the pixmap is returned. Applications should use XmDestroyPixmap when the pixmap is no longer needed. screen Specifies the display screen on which the pixmap is to be drawn image_name Specifies t... |
XmGetPostedFromWidget(3) -- A RowColumn function that returns the widget from which a menu was posted
|
XmGetPostedFromWidget returns the widget from which a menu was posted. For torn-off menus, this function returns the widget from which the menu was originally torn. An application can use this routine during the activate callback to determine the context in which the menu callback should be interpreted. menu Specifies the widget ID of the menu For a complete definition of RowColumn and its associa... |
XmGetScaledPixmap(3) -- read a pixmap file and scale it according to pixmap and print resolution
|
XmGetScaledPixmap uses its Widget argument to look up for a Print Shell ancestor to get the pixmap resolution and the default printer resolution information to be used if scaling_ratio ==0. If scaling is 0, and a valid PrintShell is present XmGetScaledPixmap applies a ratio equals to (printer resolution / default pixmap resolution) before creating the Pixmap on the widget's Screen. Otherwise, the... |
XmGetSecondaryResourceData(3) -- A function that provides access to secondary widget resource data
|
Some Motif widget classes (such as Gadget, Text, and VendorShell) have resources that are not accessible through the functions XtGetResourceList and XtGetConstraintResourceList. In order to retrieve the descriptions of these resources, an application must use XmGetSecondaryResourceData. When a widget class has such resources, this function provides descriptions of the resources in one or more data... |
XmGetTabGroup(3) -- Returns the widget ID of a tab group
|
XmGetTabGroup returns the widget ID of the tab group that contains the specified widget. widget Specifies a widget ID within a tab group |
XmGetTearOffControl(3) -- A RowColumn function that obtains the widget ID
|
XmGetTearOffControl provides the application with the means for obtaining the widget ID of the internally created tear-off control in a tear-off menu. RowColumn creates a tear-off control for a PulldownMenu or PopupMenu when the XmNtearOffModel resource is initialized or set to XmTEAR_OFF_ENABLED. The tear-off control is a widget that appears as the first element in the menu. The user tears off th... |
XmGetVisibility(3) -- A function that determines if a widget is visible
|
XmGetVisibility returns the visibility state of the specified widget. It checks to see if some part of the widget's rectangular area is unobscured by the widget's ancestors, or some part of the widget's rectangular area is inside the work window (but possibly outside the clip window) of a ScrolledWindow whose XmNscrollingPolicy is XmAUTOMATIC and whose XmNtraverseObscuredCallback is not NULL. X... |