4
4
<meta http-equiv="Content-Type" content="text/html; charset=US-ASCII">
5
5
<title>gimpmessage</title>
6
<meta name="generator" content="DocBook XSL Stylesheets V1.68.1">
6
<meta name="generator" content="DocBook XSL Stylesheets V1.72.0">
7
7
<link rel="start" href="index.html" title="GIMP Library Reference Manual">
8
8
<link rel="up" href="libgimp-general.html" title="Functions not Related to Specific Images">
9
9
<link rel="prev" href="libgimp-gimphelp.html" title="gimphelp">
10
10
<link rel="next" href="libgimp-gimpplugin.html" title="gimpplugin">
11
<meta name="generator" content="GTK-Doc V1.7 (XML mode)">
11
<meta name="generator" content="GTK-Doc V1.8 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
<link rel="part" href="gimpdefinitions.html" title="Part I. GIMP Constants">
14
<link rel="part" href="libgimp.html" title="Part II. GIMP Library">
13
<link rel="part" href="libgimp.html" title="Part I. GIMP Library">
15
14
<link rel="chapter" href="libgimp-general.html" title="Functions not Related to Specific Images">
16
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and all their Properties">
15
<link rel="chapter" href="libgimp-image.html" title="Manupulating Images and their Properties">
17
16
<link rel="chapter" href="libgimp-data.html" title="Data Objects">
18
17
<link rel="chapter" href="libgimp-selectors.html" title="Controlling the Core's Selection Dialogs">
19
<link rel="part" href="libgimpui.html" title="Part III. GIMP User Interface Library">
18
<link rel="part" href="libgimpui.html" title="Part II. GIMP User Interface Library">
20
19
<link rel="chapter" href="libgimpui-hierarchy.html" title="Object Hierarchy">
20
<link rel="index" href="libgimp-index.html" title="Index">
21
<link rel="index" href="libgimp-index-new-in-2-2.html" title="Index of new symbols in GIMP 2.2">
22
<link rel="index" href="libgimp-index-new-in-2-4.html" title="Index of new symbols in GIMP 2.4">
23
<link rel="index" href="libgimp-index-deprecated.html" title="Index of deprecated symbols">
22
25
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
23
26
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
28
31
<th width="100%" align="center">GIMP Library Reference Manual</th>
29
32
<td><a accesskey="n" href="libgimp-gimpplugin.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
31
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2551599" class="shortcut">Top</a>
34
<tr><td colspan="5" class="shortcuts"><nobr><a href="#id2587964" class="shortcut">Top</a>
33
<a href="#id2530173" class="shortcut">Description</a></nobr></td></tr>
36
<a href="#id2565714" class="shortcut">Description</a></nobr></td></tr>
35
38
<div class="refentry" lang="en">
36
39
<a name="libgimp-gimpmessage"></a><div class="titlepage"></div>
37
40
<div class="refnamediv"><table width="100%"><tr>
40
<a name="id2551599"></a><span class="refentrytitle">gimpmessage</span>
43
<a name="id2587964"></a><span class="refentrytitle">gimpmessage</span>
42
45
<p>gimpmessage — Display a dialog box with a message.</p>
52
gboolean <a href="libgimp-gimpmessage.html#gimp-message">gimp_message</a> (const gchar *message);
55
gboolean <a href="libgimp-gimpmessage.html#gimp-message">gimp_message</a> (const gchar *message);
54
57
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpMessageHandlerType"
55
>GimpMessageHandlerType</a> <a href="libgimp-gimpmessage.html#gimp-message-get-handler">gimp_message_get_handler</a>
57
gboolean <a href="libgimp-gimpmessage.html#gimp-message-set-handler">gimp_message_set_handler</a> (<a
58
>GimpMessageHandlerType</a> <a href="libgimp-gimpmessage.html#gimp-message-get-handler">gimp_message_get_handler</a> (void);
59
gboolean <a href="libgimp-gimpmessage.html#gimp-message-set-handler">gimp_message_set_handler</a> (<a
58
60
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpMessageHandlerType"
59
61
>GimpMessageHandlerType</a> handler);
62
64
<div class="refsect1" lang="en">
63
<a name="id2530173"></a><h2>Description</h2>
65
<a name="id2565714"></a><h2>Description</h2>
65
67
Display a dialog box with a message.
69
71
<div class="refsect1" lang="en">
70
<a name="id2530189"></a><h2>Details</h2>
72
<a name="id2589901"></a><h2>Details</h2>
71
73
<div class="refsect2" lang="en">
72
<a name="id2530199"></a><h3>
74
<a name="id2562489"></a><h3>
73
75
<a name="gimp-message"></a>gimp_message ()</h3>
74
<a class="indexterm" name="id2530212"></a><pre class="programlisting">gboolean gimp_message (const gchar *message);</pre>
76
<a class="indexterm" name="id2562501"></a><pre class="programlisting">gboolean gimp_message (const gchar *message);</pre>
76
78
Displays a dialog box with a message.
85
87
<col align="left" valign="top">
89
<span class="term"><em class="parameter"><code>message</code></em> :</span></td>
90
<td><span class="term"><em class="parameter"><code>message</code></em> :</span></td>
90
91
<td> Message to display in the dialog.
95
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
95
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
96
96
<td> TRUE on success.
103
103
<div class="refsect2" lang="en">
104
<a name="id2530276"></a><h3>
104
<a name="id2562567"></a><h3>
105
105
<a name="gimp-message-get-handler"></a>gimp_message_get_handler ()</h3>
106
<a class="indexterm" name="id2530288"></a><pre class="programlisting"><a
106
<a class="indexterm" name="id2562578"></a><pre class="programlisting"><a
107
107
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpMessageHandlerType"
108
>GimpMessageHandlerType</a> gimp_message_get_handler
108
>GimpMessageHandlerType</a> gimp_message_get_handler (void);</pre>
111
110
Returns the current state of where warning messages are displayed.
120
119
<div class="variablelist"><table border="0">
121
120
<col align="left" valign="top">
124
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
122
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
125
123
<td> The current handler type.
131
129
<div class="refsect2" lang="en">
132
<a name="id2566673"></a><h3>
130
<a name="id2601228"></a><h3>
133
131
<a name="gimp-message-set-handler"></a>gimp_message_set_handler ()</h3>
134
<a class="indexterm" name="id2566684"></a><pre class="programlisting">gboolean gimp_message_set_handler (<a
132
<a class="indexterm" name="id2601239"></a><pre class="programlisting">gboolean gimp_message_set_handler (<a
135
133
href="../libgimpbase/libgimpbase-gimpbaseenums.html#GimpMessageHandlerType"
136
134
>GimpMessageHandlerType</a> handler);</pre>
148
146
<col align="left" valign="top">
152
<span class="term"><em class="parameter"><code>handler</code></em> :</span></td>
149
<td><span class="term"><em class="parameter"><code>handler</code></em> :</span></td>
153
150
<td> The new handler type.
158
<span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
154
<td><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></td>
159
155
<td> TRUE on success.