NAMEwidget - X11 Widgets
SYNOPSISvoid XColorBrowserWidget( Display *display, XWindows *windows, const char *action, char *reply ); int XCommandWidget( Display *display, XWindows *windows, const char ** selections, XEvent *event ); int XConfirmWidget( Display *display, XWindows *windows, const char *reason, const char *description ); int XDialogWidget( Display *display, XWindows *windows, const char *action, const char *query, char *reply ); void XFileBrowserWidget( Display *display, XWindows *windows, const char *action, char *reply ); void XFontBrowserWidget( Display *display, XWindows *windows, const char *action, char *reply ); void XInfoWidget( Display *display, XWindows *windows, const char *activity ); void XListBrowserWidget( Display *display, XWindows *windows, XWindowInfo *window_info, const char ** list, const char *action, const char *query, char *reply ); int XMenuWidget( Display *display, XWindows *windows, const char *title, const char ** selections, char *item ); void XMonitorWidget( Display *display, XWindows *windows, const char *task, const MagickOffsetType offset, const MagickSizeType span ); void XNoticeWidget( Display *display, XWindows *windows, const char *reason, const char *description ); MagickBooleanType XPreferencesWidget( Display *display, XResourceInfo *resource_info, XWindows *windows ); void XTextViewWidget( Display *display, const XResourceInfo *resource_info, XWindows *windows, const MagickBooleanType mono, const char *title, const char ** textlist );
FUNCTION DESCRIPTIONS
DestroyXWidgetDestroyXWidget() destroys resources associated with the X widget. The format of the DestroyXWidget method is: void DestroyXWidget() A description of each parameter follows:
XColorBrowserWidgetXColorBrowserWidget() displays a Color Browser widget with a color query to the user. The user keys a reply and presses the Action or Cancel button to exit. The typed text is returned as the reply function parameter. The format of the XColorBrowserWidget method is: void XColorBrowserWidget ( Display *display, XWindows *windows, const char *action, char *reply ); A description of each parameter follows:
XCommandWidgetXCommandWidget() maps a menu and returns the command pointed to by the user when the button is released. The format of the XCommandWidget method is: int XCommandWidget ( Display *display, XWindows *windows, const char **selections, XEvent *event ); A description of each parameter follows:
XConfirmWidgetXConfirmWidget() displays a Confirm widget with a notice to the user. The function returns -1 if Dismiss is pressed, 0 for Cancel, and 1 for Yes. The format of the XConfirmWidget method is: int XConfirmWidget ( Display *display, XWindows *windows, const char *reason, const char *description ); A description of each parameter follows:
XDialogWidgetXDialogWidget() displays a Dialog widget with a query to the user. The user keys a reply and presses the Ok or Cancel button to exit. The typed text is returned as the reply function parameter. The format of the XDialogWidget method is: int XDialogWidget ( Display *display, XWindows *windows, const char *action, const char *query, char *reply ); A description of each parameter follows:
XFileBrowserWidgetXFileBrowserWidget() displays a File Browser widget with a file query to the user. The user keys a reply and presses the Action or Cancel button to exit. The typed text is returned as the reply function parameter. The format of the XFileBrowserWidget method is: void XFileBrowserWidget ( Display *display, XWindows *windows, const char *action, char *reply ); A description of each parameter follows:
XFontBrowserWidgetXFontBrowserWidget() displays a Font Browser widget with a font query to the user. The user keys a reply and presses the Action or Cancel button to exit. The typed text is returned as the reply function parameter. The format of the XFontBrowserWidget method is: void XFontBrowserWidget ( Display *display, XWindows *windows, const char *action, char *reply ); A description of each parameter follows:
XInfoWidgetXInfoWidget() displays text in the Info widget. The purpose is to inform the user that what activity is currently being performed ( e.g. reading an image, rotating an image, etc. ) . The format of the XInfoWidget method is: void XInfoWidget ( Display *display, XWindows *windows, const char *activity ); A description of each parameter follows:
XListBrowserWidgetXListBrowserWidget() displays a List Browser widget with a query to the user. The user keys a reply or select a reply from the list. Finally, the user presses the Action or Cancel button to exit. The typed text is returned as the reply function parameter. The format of the XListBrowserWidget method is: void XListBrowserWidget ( Display *display, XWindows *windows, XWindowInfo *window_info, const char **list, const char *action, const char *query, char *reply ); A description of each parameter follows:
XMenuWidgetXMenuWidget() maps a menu and returns the command pointed to by the user when the button is released. The format of the XMenuWidget method is: int XMenuWidget ( Display *display, XWindows *windows, const char *title, const char **selections, char *item ); A description of each parameter follows:
XMonitorWidgetXMonitorWidget() displays the progress a task is making in completing a task. A span of zero toggles the active status. An inactive state disables the progress monitor. The format of the XMonitorWidget method is: void XMonitorWidget ( Display *display, XWindows *windows, const char *task, const MagickOffsetType offset, const MagickSizeType span ); A description of each parameter follows:
XNoticeWidgetXNoticeWidget() displays a Notice widget with a notice to the user. The function returns when the user presses the "Dismiss" button. The format of the XNoticeWidget method is: void XNoticeWidget ( Display *display, XWindows *windows, const char *reason, const char *description ); A description of each parameter follows:
XPreferencesWidgetXPreferencesWidget() displays a Preferences widget with program preferences. If the user presses the Apply button, the preferences are stored in a configuration file in the users' home directory. The format of the XPreferencesWidget method is: MagickBooleanType XPreferencesWidget ( Display *display, XResourceInfo *resource_info, XWindows *windows ); A description of each parameter follows:
XTextViewWidgetXTextViewWidget() displays text in a Text View widget. The format of the XTextViewWidget method is: void XTextViewWidget ( Display *display, const XResourceInfo *resource_info, XWindows *windows, const MagickBooleanType mono, const char *title, const char **textlist ); A description of each parameter follows:
|