GIMP Library Reference Manual
<<< Previous Page | Home | Up | Next Page >>>

# gimpmessage

## Name

gimpmessage --

## Synopsis

    gboolean    gimp_message                    (gchar *message);
    GimpMessageHandlerType gimp_message_get_handler
                                                (void);
    gboolean    gimp_message_set_handler        (GimpMessageHandlerType handler);

## Description

## Details

### gimp_message ()

    gboolean    gimp_message                    (gchar *message);

Displays a dialog box with a message.

Displays a dialog box with a message. Useful for status or error reporting.

`message` : | Message to display in the dialog.
Returns : | TRUE on success.

### gimp_message_get_handler ()

    GimpMessageHandlerType gimp_message_get_handler
                                                (void);

Returns the current state of where warning messages are displayed.

This procedure returns the way g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.

Returns : | The current handler type.

### gimp_message_set_handler ()

    gboolean    gimp_message_set_handler        (GimpMessageHandlerType handler);

Controls where warning messages are displayed.

This procedure controls how g_message warnings are displayed. They can be shown in a dialog box or printed on the console where gimp was started.

`handler` : | The new handler type.
Returns : | TRUE on success.

<<< Previous Page | Home | Up | Next Page >>>
gimplayer | gimpmisc