| Eye of GNOME Reference Manual | ||||
|---|---|---|---|---|
| Top | Description | Object Hierarchy | Implemented Interfaces | Signals | ||||
EogMessageArea;
GtkWidget * eog_message_area_new (void);
GtkWidget * eog_message_area_new_with_buttons (const gchar *first_button_text,
...);
void eog_message_area_set_contents (EogMessageArea *message_area,
GtkWidget *contents);
void eog_message_area_add_action_widget (EogMessageArea *message_area,
GtkWidget *child,
gint response_id);
GtkWidget * eog_message_area_add_button (EogMessageArea *message_area,
const gchar *button_text,
gint response_id);
GtkWidget * eog_message_area_add_stock_button_with_text
(EogMessageArea *message_area,
const gchar *text,
const gchar *stock_id,
gint response_id);
void eog_message_area_add_buttons (EogMessageArea *message_area,
const gchar *first_button_text,
...);
void eog_message_area_set_response_sensitive
(EogMessageArea *message_area,
gint response_id,
gboolean setting);
void eog_message_area_set_default_response
(EogMessageArea *message_area,
gint response_id);
void eog_message_area_response (EogMessageArea *message_area,
gint response_id);
GObject
+----GInitiallyUnowned
+----GtkObject
+----GtkWidget
+----GtkContainer
+----GtkBox
+----GtkHBox
+----EogMessageArea
GtkWidget * eog_message_area_new_with_buttons (const gchar *first_button_text,
...);
Creates a new EogMessageArea with default buttons.
|
The text for the first button. |
|
additional buttons, terminated with NULL.
|
Returns : |
A newly created EogMessageArea widget. |
void eog_message_area_set_contents (EogMessageArea *message_area, GtkWidget *contents);
Sets the contents of message_area. The contents will
be packed into the message area.
|
an EogMessageArea. |
|
a GtkWidget. |
void eog_message_area_add_action_widget (EogMessageArea *message_area, GtkWidget *child, gint response_id);
Adds a widget to the action area of message_area. Only 'activatable'
widgets can be packed into the action area of a EogMessageArea.
|
an EogMessageArea. |
|
The widget to be packed into the message area. |
|
A response id for child.
|
GtkWidget * eog_message_area_add_button (EogMessageArea *message_area, const gchar *button_text, gint response_id);
Adds a single button to message_area.
|
an EogMessageArea. |
|
The text for the button to be added. |
|
A response id. |
Returns : |
The newly added GtkButton. |
GtkWidget * eog_message_area_add_stock_button_with_text
(EogMessageArea *message_area,
const gchar *text,
const gchar *stock_id,
gint response_id);
Adds a new button to message_area containing a image from stock and a
user defined text. Stock items may have a macro defined, like GTK_STOCK_OK.
|
An EogMessageArea. |
|
The text for the button. |
|
A stock item. |
|
A response id for the button. |
Returns : |
the newly added GtkButton. |
void eog_message_area_add_buttons (EogMessageArea *message_area, const gchar *first_button_text, ...);
Adds one or more buttons to message_area.
|
An EogMessageArea. |
|
the text for the first button to be added. |
|
text for extra buttons, terminated with NULL.
|
void eog_message_area_set_response_sensitive
(EogMessageArea *message_area,
gint response_id,
gboolean setting);
Sets sensitivity in message_area's child widget associated to
response_id.
|
a EogMessageArea. |
|
the response id associated to the widget whose sensitivity is to be set. |
|
TRUE to set the widget sensitive, FALSE otherwise.
|
void eog_message_area_set_default_response
(EogMessageArea *message_area,
gint response_id);
Sets the default response in message_area. This is done by
making the widget associated to response_id the default widget.
|
an EogMessageArea. |
|
the response id associated to the widget to be set default. |
void eog_message_area_response (EogMessageArea *message_area, gint response_id);
Emits a "response" signal to the given EogMessageArea.
|
an EogMessageArea. |
|
The response id for the emission. |
"close" signalvoid user_function (EogMessageArea *eogmessagearea, gpointer user_data) : Run Last / Action
|
the object which received the signal. |
|
user data set when the signal handler was connected. |
"response" signalvoid user_function (EogMessageArea *message_area, gint arg1, gpointer user_data) : Run Last
The "response" signal is emitted when one of the
activatable widgets packed into message_area is activated.
|
the object which received the signal. |
|
user data set when the signal handler was connected. |