|
Xm/SgDynaMenu(o) -- The DynaMenu widget class
|
The DynaMenu widget is packaged popup menu widget. The DynaMenu supports dynamic changing of menu entries. Pressing mouse button 1 on the DynaMenu pops up its menu. The DynaMenu looks like a PushButton, but cannot be pushed-in. Like a PushButton, it can accept either a label string or a pixmap. Currently, however, you must have access to the private instance record to set the string or pixmap. Classes DynaMenu inherits behavior and resources from Core, Composite, Constraint, and XmManager. The c... |
Xm/SgDynaMenuAddHistoryItem(o) -- A DynaMenu function that adds an item to the DynaMenu history list
|
SgDynaMenuAddItem adds an item to the DynaMenu history list at the top position. When the item is inserted into the list, it is compared with the current items. If the new item matches an item on the selected DynaMenu, the item is removed from the old position, so it is not duplicated in the history list. The programmer should call the appropriate free on the String passed to the widget after calling SgDynaMenuAddItem, since the widget creates its own XmString from the str argument. widget Speci... |
|
Xm/SgDynaMenuClearHistory(o) -- A DynaMenu function that deletes all items from the DynaMenu history list
|
SgDynaMenuClearHistory deletes all items from the DynaMenu's history list. widget Specifies the ID of the DynaMenu from whose history list the items are deleted For a complete definition of DynaMenu and its associated resources, see SgDynaMenu(3X). |
Xm/SgFileSelectionBox(o) -- The enhanced FileSelectionBox widget
|
The enhanced XmFileSelectionBox traverses directories, shows files and subdirectories, and selects files. An enhanced XmFileSelectionBox has three main areas: o A Finder widget, consisting of a text field, zoom bar, drop pocket, and history button. o A scrollable list of filenames and subdirectories o A group of Buttons, labeled OK, Filter, Cancel, and Help The user can select a new directory to examine by scrolling through the list of files and directories and selecting the desired directory. T... |
Xm/SgFileSelectionBoxGetChild(o) -- A FileSelectionBox function used to access a component
|
XmFileSelectionBoxGetChild is used to access a component within a FileSelectionBox. The parameters given to the function are the FileSelectionBox widget and a value indicating which component to access. widget Specifies the FileSelectionBox widget ID. child Specifies a component within the FileSelectionBox. The enhanced XmFileSelectionBoxGetChild function accepts all the children of the normal XmFileSelectionBoxGetChild function. Certain children, however, are not managed in the enhanced file se... |
Xm/SgFileSelectionBoxReplaceSuffix(o) -- A FileSelectionBox function used to replace the suffix of the current file name.
|
SgFileSelectionReplaceSuffix is used to replace the suffix of the current filename within a FileSelectionBox. The parameters given to the function are the FileSelectionBox widget, the FTR file type from which to derive the new suffix, and a default suffix to be used if the FTR database does not contain a suffix for the given file type. widget Specifies the FileSelectionBox widget ID. file_type Specifies the FTR file type to be used in determining the new suffix. default_suffix Specifies the suff... |
Xm/SgFinder(o) -- The Finder widget class
|
The Finder widget is designed to integrate a drop pocket, a textField, a zoomBar, and a history menu. The zoomBar is a set of buttons above the text field which allows sections of the text to be selected. The history menu allows users to select items previously visited, or to undo operations. The Finder widget should be used for accelerating text selection of long objects such as file names. Pressing on the history button brings up a pulldown menu of choices. Selecting an item in the menu will s... |
Xm/SgFinderAddHistoryItem(o) -- A Finder function that adds an item to the Finder history list
|
SgFinderAddHistoryItem adds an item to the Finder history list at the top position. When the item is inserted into the list, it is compared with the current items. If the new item matches an item on the selected Finder, the item is removed from the old position, so it is not duplicated in the history list. widget Specifies the ID of the Finder to which an item is added. str Specifies the item to be added to the Finder. For a complete definition of Finder and its associated resources, see SgFinde... |
Xm/SgFinderClearHistory(o) -- A Finder function that deletes all items from the Finder history list
|
SgFinderClearHistory deletes all items from the Finder's history list. widget Specifies the ID of the Finder from whose history list the items are deleted For a complete definition of Finder and its associated resources, see SgFinder(3X). |
Xm/SgFinderGetChild(o) -- A Finder function used to access a widget component
|
SgFinderGetChild is used to access a widget component within a Finder. The parameters given to the function are the Finder widget and a value indicating which component to access. The Finder widget generally provides the functionality and access to child behavior through other means. Accessing the children of the Finder and modifying their callbacks or resources significantly may cause unpredictable results. It is suggested that applications not modify the state of the Finder children. widget Sp... |
Xm/SgFinderGetTextString(o) -- A Finder function that accesses the string value of the text field.
|
SgFinderGetTextString accesses the string value of the Finder widget. The application is responsible for freeing the storage associated with the string by calling XtFree. widget Specifies the Finder widget ID For a complete definition of Finder and its associated resources, see SgFinder(3X). |
Xm/SgFinderSetTextString(o) -- A Finder function that sets the string value
|
SgFinderSetTextString sets the string value of the Finder widget. This routine calls the widget's XmNvalueChangedCallback and XmNactivateCallback. widget Specifies the Finder widget ID value Specifies the character pointer to the string value and places the string into the text edit window For a complete definition of Finder and its associated resources, see SgFinder(3X). |
Xm/SgGraph(o) -- An OSF/Motif-compatible graph widget.
|
The SgGraph widget provides the application developer with the ability to display any group of widgets as a graph, with each widget representing a node. The graph can be disconnected, as well as contain cycles. The arcs used to connect the nodes are instances of an SgArc widget, developed specifically for use with the SgGraph widget. Arcs may be undirected, directed, or bidirected. Note that the SgGraph widget does not understand the semantics of arc direction, ie. for layout and editing purpose... |
Xm/SgGrid(o) -- The SgGrid widget class
|
SgGrid is a container widget with no input semantics of its own. It arranges its children in a two dimensional grid of arbitrary size. Each row and column of this grid may be separately designated as having a fixed size or as having some degree of stretchability. In addition, each child may be resizable in either or both directions, or forced to a fixed size. If a child is a fixed size, and smaller than the cell that contains it, the childs position within the cell is determined by an XmNgravity... |
Xm/SgIconGadget(o) -- the Icon widget class.
|
SgIconGadget is an instantiable gadget that displays a labeled pixmap. The SgIconGadget widget does not accept any button or key input, and the help callback is the only callback defined. SgIconGadget also receives enter and leave events. The SgIconGadget is unique in that it can be displayed in colors other than that provided by its parent, a restriction that limits the usefulness of gadgets in many situation. SgIconGadget can contain both text and a pixmap. SgIconGadget text is a compound stri... |