Name
gimpdialog -- Constructors for
GtkDialog's and action_areas as well as other
dialog-related stuff.
Synopsis
GtkWidget* gimp_dialog_new (const gchar *title,
const gchar *wmclass_name,
GimpHelpFunc help_func,
const gchar *help_data,
GtkWindowPosition position,
gint allow_shrink,
gint allow_grow,
gint auto_shrink,
...);
GtkWidget* gimp_dialog_newv (const gchar *title,
const gchar *wmclass_name,
GimpHelpFunc help_func,
const gchar *help_data,
GtkWindowPosition position,
gint allow_shrink,
gint allow_grow,
gint auto_shrink,
va_list args);
void gimp_dialog_set_icon (GtkWindow *dialog);
void gimp_dialog_create_action_area (GtkDialog *dialog,
...);
void gimp_dialog_create_action_areav (GtkDialog *dialog,
va_list args); |
Details
gimp_dialog_new ()
GtkWidget* gimp_dialog_new (const gchar *title,
const gchar *wmclass_name,
GimpHelpFunc help_func,
const gchar *help_data,
GtkWindowPosition position,
gint allow_shrink,
gint allow_grow,
gint auto_shrink,
...); |
This function simply packs the action_area arguments passed in "..."
into a va_list variable and passes everything to gimp_dialog_newv().
For a description of the format of the va_list describing the
action_area buttons see gimp_dialog_create_action_areav().
gimp_dialog_newv ()
GtkWidget* gimp_dialog_newv (const gchar *title,
const gchar *wmclass_name,
GimpHelpFunc help_func,
const gchar *help_data,
GtkWindowPosition position,
gint allow_shrink,
gint allow_grow,
gint auto_shrink,
va_list args); |
This function performs all neccessary setps to set up a standard GIMP
dialog.
The va_list describing the action_area buttons will be passed to
gimp_dialog_create_action_areav().
gimp_dialog_set_icon ()
void gimp_dialog_set_icon (GtkWindow *dialog); |
This function sets the WM pixmap icon for the dialog which will appear
e.g. in GNOME's or KDE's window list.
Note that this function is automatically called by
gimp_help_connect_help_accel() which in turn is called by
gimp_dialog_newv(), so you only have to call it for GtkWindow's which
have no help page (like tear-off menus).
gimp_dialog_create_action_area ()
void gimp_dialog_create_action_area (GtkDialog *dialog,
...); |
This function simply packs the action_area arguments passed in "..."
into a va_list variable and passes everything to
gimp_dialog_create_action_areav().
gimp_dialog_create_action_areav ()
void gimp_dialog_create_action_areav (GtkDialog *dialog,
va_list args); |
The va_list describing the action_area GtkButton's has the following format: