![]() |
![]() |
![]() |
Anjuta Developers Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Signals |
AnjutaMessageAreaPrivate; AnjutaMessageArea; GtkWidget * anjuta_message_area_new (const gchar *text, const gchar *icon_stock_id); void anjuta_message_area_set_text (AnjutaMessageArea *message_area, const gchar *text); void anjuta_message_area_set_image (AnjutaMessageArea *message_area, const gchar *icon_stock_id); GtkWidget * anjuta_message_area_add_button (AnjutaMessageArea *message_area, const gchar *button_text, gint response_id); GtkWidget * anjuta_message_area_add_button_with_stock_image (AnjutaMessageArea *message_area, const gchar *text, const gchar *stock_id, gint response_id); void anjuta_message_area_response (AnjutaMessageArea *message_area, gint response_id);
GObject +----GInitiallyUnowned +----GtkObject +----GtkWidget +----GtkContainer +----GtkBox +----GtkHBox +----AnjutaMessageArea
AnjutaMessageArea implements AtkImplementorIface, GtkBuildable and GtkOrientable.
GtkWidget * anjuta_message_area_new (const gchar *text, const gchar *icon_stock_id);
Creates a new AnjutaMessageArea object.
|
|
|
|
Returns : |
a new AnjutaMessageArea object |
void anjuta_message_area_set_text (AnjutaMessageArea *message_area, const gchar *text);
Sets the visualized text of the AnjutaMessageArea.
|
an AnjutaMessageArea |
|
the text to set in the message area |
void anjuta_message_area_set_image (AnjutaMessageArea *message_area, const gchar *icon_stock_id);
Sets the visualized icon of the AnjutaMessageArea.
|
an AnjutaMessageArea |
|
a stock image ID |
GtkWidget * anjuta_message_area_add_button (AnjutaMessageArea *message_area, const gchar *button_text, gint response_id);
Adds a button with the given text (or a stock button, if button_text is a stock ID) and sets things up so that clicking the button will emit the "response" signal with the given response_id. The button is appended to the end of the message area's action area. The button widget is returned, but usually you don't need it.
|
an AnjutaMessageArea |
|
text of button, or stock ID |
|
response ID for the button |
Returns : |
the button widget that was added |
GtkWidget * anjuta_message_area_add_button_with_stock_image (AnjutaMessageArea *message_area, const gchar *text, const gchar *stock_id, gint response_id);
Same as anjuta_message_area_add_button()
but with a specific icon.
|
an AnjutaMessageArea |
|
the text to visualize in the button |
|
the stock ID of the button |
|
a response ID |
Returns : |
void anjuta_message_area_response (AnjutaMessageArea *message_area, gint response_id);
Emits the 'response' signal with the given response_id
.
|
an AnjutaMessageArea |
|
a response ID |
"close"
signalvoid user_function (AnjutaMessageArea *anjutamessagearea, 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 (AnjutaMessageArea *anjutamessagearea, gint arg1, gpointer user_data) : Run Last
|
the object which received the signal. |
|
|
|
user data set when the signal handler was connected. |