|
Xm/XmCreateWorkingDialog(o) -- The MessageBox WorkingDialog convenience creation function
|
XmCreateWorkingDialog is a convenience creation function that creates a DialogShell and an unmanaged MessageBox child of the DialogShell. A WorkingDialog informs users that there is a time-consuming operation in progress and allows them to cancel the operation. It includes a symbol, a message, and three buttons. The default symbol is an hourglass. The default button labels are OK, Cancel, and Help. Use XtManageChild to pop up the WorkingDialog (passing the MessageBox as the widget parameter); us... |
Xm/XmCvtCTToXmString(o) -- A compound string function that converts compound text to a compound string
|
XmCvtCTToXmString converts a (char *) string in compound text format to a compound string. The application must call XtAppInitialize before calling this function. Conversion of compound text to compound strings is implementation dependent. text Specifies a string in compound text format to be converted to a compound string. |
|
Xm/XmCvtStringToUnitType(o) -- A function that converts a string to
|
XmCvtStringToUnitType converts a string to a unit type. Refer to the man pages for XmGadget, XmManager, or XmPrimitive for a description of the valid unit types. Use of this function as a resource converter is obsolete. It has been replaced by a new resource converter that uses the RepType facility. args Specifies a list of additional XrmValue arguments to the converter if additional context is needed to perform the conversion. For example, the string-tofont converter needs the widget's screen ... |
Xm/XmCvtXmStringToCT(o) -- A compound string function that converts a compound string to compound text
|
XmCvtXmStringToCT converts a compound string to a (char *) string in compound text format. The application must call XtAppInitialize before calling this function. The converter uses the font list tag associated with a given compound string segment to select a compound text format for that segment. A registry defines a mapping between font list tags and compound text encoding formats. The converter uses the following algorithm for each compound string segment: 1. If the compound string segment ta... |
Xm/XmDeactivateProtocol(o) -- A VendorShell function that deactivates a protocol without removing it
|
XmDeactivateProtocol deactivates a protocol without removing it. It updates the handlers and the property, if the shell is realized. It is sometimes useful to allow a protocol's state information (callback lists, etc.) to persist, even though the client may choose to temporarily resign from the interaction. The main use of this capability is to gray/ungray f.send_msg entries in the Mwm system menu. This is supported by allowing a protocol to be in one of two states: active or inactive. If the p... |
Xm/XmDeactivateWMProtocol(o) -- A VendorShell convenience interface that deactivates a protocol without removing it
|
XmDeactivateWMProtocol is a convenience interface. It calls XmDeactivateProtocol with the property value set to the atom returned by interning WM_PROTOCOLS. shell Specifies the widget with which the protocol property is associated protocol Specifies the protocol atom (or an int type cast to Atom) For a complete definition of VendorShell and its associated resources, see VendorShell(3X). |
Xm/XmDestroyPixmap(o) -- A pixmap caching function that removes a pixmap from the pixmap cache
|
XmDestroyPixmap removes pixmaps that are no longer used. Pixmaps are completely freed only when there is no further reference to them. screen Specifies the display screen for which the pixmap was requested pixmap Specifies the pixmap to be destroyed |
Xm/XmDialogShell(o) -- The DialogShell widget class
|
Modal and modeless dialogs use DialogShell as the Shell parent. DialogShell widgets cannot be iconified. Instead, all secondary DialogShell widgets associated with an ApplicationShell widget are iconified and de-iconified as a group with the primary widget. The client indirectly manipulates DialogShell via the convenience interfaces during creation, and it can directly manipulate its BulletinBoard-derived child. Much of the functionality of DialogShell assumes that its child is a BulletinBoard s... |
Xm/XmDisplay(o) -- The Display widget class
|
The XmDisplay object is used by the Motif widgets to store information that is specific to a display. It also allows the toolkit to access certain information on widget hierarchies that would otherwise be unavailable. Each client has one XmDisplay object for each display it accesses. An XmDisplay object is automatically created when the application creates the first shell on a display (usually accomplished by a call to XtAppInitialize or XtAppCreateShell). It is not necessary to create an XmDisp... |
Xm/XmDragCancel(o) -- A Drag and Drop function that terminates a drag transaction
|
XmDragCancel terminates a drag operation and cancels any pending actions of the specified DragContext. This routine can only be called by the initiator client. dragcontext Specifies the ID of the DragContext widget associated with the drag and drop transaction to be terminated For a complete definition of DragContext and its associated resources, see XmDragContext(3X). |
Xm/XmDragContext(o) -- The DragContext widget class
|
DragContexts are special widgets used in drag and drop transactions. A DragContext is implemented as a widget, but a client does not explicitly create a DragContext widget. Instead, a client initiates a drag and drop transaction by calling XmDragStart, and this routine initializes and returns a DragContext widget. There is a unique DragContext for each drag operation. The toolkit frees a DragContext when a transaction is complete; therefore, an application programmer should not explicitly destro... |
Xm/XmDragIcon(o) -- The DragIcon widget class
|
A DragIcon is a component of the visual used to represent the source data in a drag and drop transaction. During a drag operation, a real or simulated X cursor provides dragover visuals consisting of a static portion that represents the object being dragged, and dynamic cues that provide visual feedback during the drag operation. The visual is attained by blending together various XmDragIcons specified in the XmDragContext associated with the drag operation. The static portion of the drag-over v... |
Xm/XmDragStart(o) -- A Drag and Drop function that initiates a drag and drop transaction
|
XmDragStart initiates a drag operation. This routine returns the DragContext widget that it initializes for the associated drag transaction. The toolkit is responsible for freeing the DragContext when the drag and drop transaction is complete. widget Specifies the ID of the smallest widget and/or gadget that encloses the source elements selected for a drag operation. event Specifies the XEvent that triggered the drag operation. This event must be a ButtonPress event. arglistSpecifies the argumen... |
Xm/XmDrawingArea(o) -- The DrawingArea widget class
|
DrawingArea is an empty widget that is easily adaptable to a variety of purposes. It does no drawing and defines no behavior except for invoking callbacks. Callbacks notify the application when graphics need to be drawn (exposure events or widget resize) and when the widget receives input from the keyboard or mouse. Applications are responsible for defining appearance and behavior as needed in response to DrawingArea callbacks. DrawingArea is also a composite widget and subclass of XmManager tha... |
Xm/XmDrawnButton(o) -- The DrawnButton widget class
|
The DrawnButton widget consists of an empty widget window surrounded by a shadow border. It provides the application developer with a graphics area that can have PushButton input semantics. Callback types are defined for widget exposure and widget resize to allow the application to redraw or reposition its graphics. If the DrawnButton widget has a highlight and shadow thickness, the application should not draw in that area. To avoid drawing in the highlight and shadow area, create the graphics c... |