## AnjutaMessageArea

AnjutaMessageArea

## Synopsis

                        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);

## Object Hierarchy

      GObject
       +----GInitiallyUnowned
             +----GtkObject
                   +----GtkWidget
                         +----GtkContainer
                               +----GtkBox
                                     +----GtkHBox
                                           +----AnjutaMessageArea

## Implemented Interfaces

AnjutaMessageArea implements AtkImplementorIface, GtkBuildable and GtkOrientable.

## Signals

      "close"                                          : Run Last / Action
      "response"                                       : Run Last

## Description

## Details

### AnjutaMessageAreaPrivate

    typedef struct _AnjutaMessageAreaPrivate AnjutaMessageAreaPrivate;

### AnjutaMessageArea

    typedef struct _AnjutaMessageArea AnjutaMessageArea;

### anjuta_message_area_new ()

    GtkWidget *         anjuta_message_area_new             (const gchar *text,
                                                             const gchar *icon_stock_id);

Creates a new AnjutaMessageArea object.

`text` : |
`icon_stock_id` : |
Returns : | a new AnjutaMessageArea object

### anjuta_message_area_set_text ()

    void                anjuta_message_area_set_text        (AnjutaMessageArea *message_area,
                                                             const gchar *text);

Sets the visualized text of the AnjutaMessageArea.

`message_area` : | an AnjutaMessageArea
`text` : | the text to set in the message area

### anjuta_message_area_set_image ()

    void                anjuta_message_area_set_image       (AnjutaMessageArea *message_area,
                                                             const gchar *icon_stock_id);

Sets the visualized icon of the AnjutaMessageArea.

`message_area` : | an AnjutaMessageArea
`icon_stock_id` : | a stock image ID

### anjuta_message_area_add_button ()

    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.

`message_area` : | an AnjutaMessageArea
`button_text` : | text of button, or stock ID
`response_id` : | response ID for the button
Returns : | the button widget that was added

### anjuta_message_area_add_button_with_stock_image ()

    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.

`message_area` : | an AnjutaMessageArea
`text` : | the text to visualize in the button
`stock_id` : | the stock ID of the button
`response_id` : | a response ID
Returns : |

### anjuta_message_area_response ()

    void                anjuta_message_area_response        (AnjutaMessageArea *message_area,
                                                             gint response_id);

Emits the 'response' signal with the given `response_id`.

`message_area` : | an AnjutaMessageArea
`response_id` : | a response ID

## Signal Details

### The `"close"` signal

    void                user_function                      (AnjutaMessageArea *anjutamessagearea,
                                                            gpointer           user_data)              : Run Last / Action

`anjutamessagearea` : | the object which received the signal.
`user_data` : | user data set when the signal handler was connected.

### The `"response"` signal

    void                user_function                      (AnjutaMessageArea *anjutamessagearea,
                                                            gint               arg1,
                                                            gpointer           user_data)              : Run Last

`anjutamessagearea` : | the object which received the signal.
`arg1` : |
`user_data` : | user data set when the signal handler was connected.