| Evolution Utilities Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | ||||
void e_notice (gpointer parent,GtkMessageType type,const gchar *format,...); void e_dialog_combo_box_set (GtkWidget *widget,gint value,const gint *value_map); gint e_dialog_combo_box_get (GtkWidget *widget,const gint *value_map); GtkWidget * e_dialog_button_new_with_icon (const gchar *icon_name,const gchar *label);
void e_notice (gpointer parent,GtkMessageType type,const gchar *format,...);
Convenience function to show a dialog with a message and an "OK" button.
|
the dialog's parent window, or NULL
|
|
the type of dialog (GTK_MESSAGE_INFO, GTK_MESSAGE_WARNING,
or GTK_MESSAGE_ERROR) |
|
printf-style format string, followed by arguments |
void e_dialog_combo_box_set (GtkWidget *widget,gint value,const gint *value_map);
Sets the selected item in a GtkComboBox. Please read the description of
e_dialog_radio_set() to see how value_map maps enumeration values to item
indices.
|
A GtkComboBox. |
|
Enumerated value. |
|
Map from enumeration values to array indices. |
gint e_dialog_combo_box_get (GtkWidget *widget,const gint *value_map);
Queries the selected item in a GtkComboBox. Please read the description
of e_dialog_radio_set() to see how value_map maps enumeration values to item
indices.
|
A GtkComboBox. |
|
Map from enumeration values to array indices. |
Returns : |
Enumeration value which corresponds to the selected item in the combo box. |
GtkWidget * e_dialog_button_new_with_icon (const gchar *icon_name,const gchar *label);
Creates a new GtkButton with preset label and image set
to icon_name.
|
Icon's name to use; can be NULL
|
|
Button label to set, with mnemonics |
Returns : |
A new GtkButton. [transfer-full] |
Since 3.12