void MagickXColorBrowserWidget( Display *display, MagickXWindows *windows, const char *action, char *reply );
Method MagickXColorBrowserWidget 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 MagickXColorBrowserWidget method is:
void MagickXColorBrowserWidget( Display *display, MagickXWindows *windows, const char *action, char *reply );
int MagickXCommandWidget( Display *display, MagickXWindows *windows, const char ** selections, XEvent *event );
Method MagickXCommandWidget maps a menu and returns the command pointed to by the user when the button is released.
The format of the MagickXCommandWidget method is:
int MagickXCommandWidget( Display *display, MagickXWindows *windows, const char ** selections, XEvent *event );
int MagickXConfirmWidget( Display *display, MagickXWindows *windows, const char *reason, const char *description );
Method MagickXConfirmWidget 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 MagickXConfirmWidget method is:
int MagickXConfirmWidget( Display *display, MagickXWindows *windows, const char *reason, const char *description );
int MagickXDialogWidget( Display *display, MagickXWindows *windows, const char *action, const char *query, char *reply );
Method MagickXDialogWidget 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 MagickXDialogWidget method is:
int MagickXDialogWidget( Display *display, MagickXWindows *windows, const char *action, const char *query, char *reply );
void MagickXFileBrowserWidget( Display *display, MagickXWindows *windows, const char *action, char *reply );
Method MagickXFileBrowserWidget 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 MagickXFileBrowserWidget method is:
void MagickXFileBrowserWidget( Display *display, MagickXWindows *windows, const char *action, char *reply );
void MagickXFontBrowserWidget( Display *display, MagickXWindows *windows, const char *action, char *reply );
Method MagickXFontBrowserWidget 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 MagickXFontBrowserWidget method is:
void MagickXFontBrowserWidget( Display *display, MagickXWindows *windows, const char *action, char *reply );
void MagickXInfoWidget( Display *display, MagickXWindows *windows, const char *activity );
Method MagickXInfoWidget 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 MagickXInfoWidget method is:
void MagickXInfoWidget( Display *display, MagickXWindows *windows, const char *activity );
A description of each parameter follows:
void MagickXListBrowserWidget( Display *display, MagickXWindows *windows, MagickXWindowInfo *window_info, const char ** list, const char *action, const char *query, char *reply );
Method MagickXListBrowserWidget 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 MagickXListBrowserWidget method is:
void MagickXListBrowserWidget( Display *display, MagickXWindows *windows, MagickXWindowInfo *window_info, const char ** list, const char *action, const char *query, char *reply );
int MagickXMenuWidget( Display *display, MagickXWindows *windows, const char *title, const char ** selections, char *item );
Method MagickXMenuWidget maps a menu and returns the command pointed to by the user when the button is released.
The format of the MagickXMenuWidget method is:
int MagickXMenuWidget( Display *display, MagickXWindows *windows, const char *title, const char ** selections, char *item );
void MagickXMonitorWidget( Display *display, MagickXWindows *windows, const char *task, const magick_int64_t quantum, const magick_uint64_t span );
Method MagickXMonitorWidget 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 MagickXMonitorWidget method is:
void MagickXMonitorWidget( Display *display, MagickXWindows *windows, const char *task, const magick_int64_t quantum, const magick_uint64_t span );
void MagickXNoticeWidget( Display *display, MagickXWindows *windows, const char *reason, const char *description );
Method MagickXNoticeWidget displays a Notice widget with a notice to the user. The function returns when the user presses the "Dismiss" button.
The format of the MagickXNoticeWidget method is:
void MagickXNoticeWidget( Display *display, MagickXWindows *windows, const char *reason, const char *description );
unsigned int MagickXPreferencesWidget( Display *display, MagickXResourceInfo *resource_info, MagickXWindows *windows );
Method MagickXPreferencesWidget 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 MagickXPreferencesWidget method is:
unsigned int MagickXPreferencesWidget( Display *display, MagickXResourceInfo *resource_info, MagickXWindows *windows );
void MagickXTextViewWidget( Display *display, const MagickXResourceInfo *resource_info, MagickXWindows *windows, const unsigned int mono, const char *title, const char ** textlist );
Method MagickXTextViewWidget displays text in a Text View widget.
The format of the MagickXTextViewWidget method is:
void MagickXTextViewWidget( Display *display, const MagickXResourceInfo *resource_info, MagickXWindows *windows, const unsigned int mono, const char *title, const char ** textlist );