~noskcaj/ubuntu/trusty/libxfce4ui/1289755+1289411

« back to all changes in this revision

Viewing changes to docs/html/libxfce4ui-xfce-dialogs.html

  • Committer: Bazaar Package Importer
  • Author(s): Lionel Le Folgoc
  • Date: 2010-11-06 12:09:50 UTC
  • Revision ID: james.westby@ubuntu.com-20101106120950-4elm0u0kyvjesv9r
Tags: upstream-4.7.4
Import upstream version 4.7.4

Show diffs side-by-side

added added

removed removed

Lines of Context:
3
3
<head>
4
4
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
5
<title>Xfce Dialogs</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
 
6
<meta name="generator" content="DocBook XSL Stylesheets V1.76.0">
7
7
<link rel="home" href="index.html" title="Libxfce4ui Reference Manual">
8
8
<link rel="up" href="libxfce4ui-widgets.html" title="Part IV. Xfce UI Widget">
9
9
<link rel="prev" href="libxfce4ui-widgets.html" title="Part IV. Xfce UI Widget">
10
10
<link rel="next" href="libxfce4ui-xfce-titled-dialog.html" title="Xfce Titled Dialog">
11
 
<meta name="generator" content="GTK-Doc V1.14 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
105
105
<p>
106
106
<a class="link" href="libxfce4ui-xfce-dialogs.html#xfce-message-dialog-new" title="xfce_message_dialog_new ()"><code class="function">xfce_message_dialog_new()</code></a> allows you to easily create Gtk+ message dialogs.
107
107
It accepts GTK+ stock buttons, mixed buttons (using XFCE_BUTTON_TYPE_MIXED)
108
 
or buttons with a <span class="type">GdkPixbuf</span> (using XFCE_BUTTON_TYPE_PIXBUF).
 
108
or buttons with a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> (using XFCE_BUTTON_TYPE_PIXBUF).
109
109
</p>
110
110
<p>
111
111
The buttons are defined by <em class="parameter"><code>first_button_text</code></em> and the next arguments in the
127
127
<tr>
128
128
<td><p><span class="term"><code class="varname">XFCE_BUTTON_TYPE_PIXBUF</code></span></p></td>
129
129
<td><p>
130
 
        Creates a button with the <span class="type">GdkPixbuf</span> as button icon.
 
130
        Creates a button with the <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> as button icon.
131
131
        <em class="parameter"><code>param1</code></em> is the <span class="type">GdkPixuf</span>, <em class="parameter"><code>param2</code></em> for the label and
132
132
        <em class="parameter"><code>param3</code></em> for the response_id.
133
133
      </p></td>
146
146
</p>
147
147
<p>
148
148
To clarify this behaviour see the example below. We create a dialog with
149
 
two stock buttons, a <span class="type">GdkPixbuf</span> button and a mixed button.
 
149
two stock buttons, a <a href="http://library.gnome.org/devel/gdk-pixbuf/unstable/gdk-pixbuf-gdk-pixbuf.html#GdkPixbuf"><span class="type">GdkPixbuf</span></a> button and a mixed button.
150
150
</p>
151
151
<p>
152
152
</p>
153
153
<div class="example">
154
 
<a name="id521503"></a><p class="title"><b>Example 2. Creating a Xfce Message Dialog</b></p>
 
154
<a name="id397225"></a><p class="title"><b>Example 2. Creating a Xfce Message Dialog</b></p>
155
155
<div class="example-contents"><pre class="programlisting">
156
156
GdkPixbuf *pixbuf = gdk_pixbuf_new_from_file_at_size (filename, 24, 24);
157
157
 
175
175
<tbody>
176
176
<tr>
177
177
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
178
 
<td>transient parent of the dialog, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
 
178
<td>transient parent of the dialog, or <code class="literal">NULL</code>.
179
179
</td>
180
180
</tr>
181
181
<tr>
182
182
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
183
 
<td>title of the dialog, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
 
183
<td>title of the dialog, or <code class="literal">NULL</code>.
184
184
</td>
185
185
</tr>
186
186
<tr>
206
206
<tr>
207
207
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
208
208
<td>
209
 
<a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> terminated list of parameters.
 
209
<code class="literal">NULL</code> terminated list of parameters.
210
210
</td>
211
211
</tr>
212
212
<tr>
236
236
<tbody>
237
237
<tr>
238
238
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
239
 
<td>transient parent of the dialog, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
 
239
<td>transient parent of the dialog, or <code class="literal">NULL</code>.
240
240
</td>
241
241
</tr>
242
242
<tr>
243
243
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
244
 
<td>title of the dialog, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
 
244
<td>title of the dialog, or <code class="literal">NULL</code>.
245
245
</td>
246
246
</tr>
247
247
<tr>
299
299
<tbody>
300
300
<tr>
301
301
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
302
 
<td>transient parent of the dialog, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
 
302
<td>transient parent of the dialog, or <code class="literal">NULL</code>.
303
303
</td>
304
304
</tr>
305
305
<tr>
306
306
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
307
 
<td>title of the dialog, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
 
307
<td>title of the dialog, or <code class="literal">NULL</code>.
308
308
</td>
309
309
</tr>
310
310
<tr>
330
330
<tr>
331
331
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
332
332
<td>
333
 
<a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a> ended list of parameters.
 
333
<code class="literal">NULL</code> ended list of parameters.
334
334
</td>
335
335
</tr>
336
336
<tr>
356
356
<tbody>
357
357
<tr>
358
358
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
359
 
<td>transient parent of the dialog, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
 
359
<td>transient parent of the dialog, or <code class="literal">NULL</code>.
360
360
</td>
361
361
</tr>
362
362
<tr>
363
363
<td><p><span class="term"><em class="parameter"><code>secondary_text</code></em> :</span></p></td>
364
 
<td>secondary text of the dialog or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
 
364
<td>secondary text of the dialog or <code class="literal">NULL</code>.
365
365
</td>
366
366
</tr>
367
367
<tr>
392
392
<tbody>
393
393
<tr>
394
394
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
395
 
<td>transient parent of the dialog, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
 
395
<td>transient parent of the dialog, or <code class="literal">NULL</code>.
396
396
</td>
397
397
</tr>
398
398
<tr>
399
399
<td><p><span class="term"><em class="parameter"><code>secondary_text</code></em> :</span></p></td>
400
 
<td>secondary text of the dialog or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
 
400
<td>secondary text of the dialog or <code class="literal">NULL</code>.
401
401
</td>
402
402
</tr>
403
403
<tr>
429
429
<tbody>
430
430
<tr>
431
431
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
432
 
<td>transient parent of the dialog, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
 
432
<td>transient parent of the dialog, or <code class="literal">NULL</code>.
433
433
</td>
434
434
</tr>
435
435
<tr>
436
436
<td><p><span class="term"><em class="parameter"><code>error</code></em> :</span></p></td>
437
 
<td>a <span class="type">GError</span>, which gives a more precise description of the problem or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
 
437
<td>a <span class="type">GError</span>, which gives a more precise description of the problem or <code class="literal">NULL</code>.
438
438
</td>
439
439
</tr>
440
440
<tr>
471
471
<tbody>
472
472
<tr>
473
473
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
474
 
<td>transient parent of the dialog, or <a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>.
 
474
<td>transient parent of the dialog, or <code class="literal">NULL</code>.
475
475
</td>
476
476
</tr>
477
477
<tr>
481
481
</tr>
482
482
<tr>
483
483
<td><p><span class="term"><em class="parameter"><code>confirm_label</code></em> :</span></p></td>
484
 
<td>if non-<a href="/usr/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL--CAPS"><code class="literal">NULL</code></a>, this text is used on the confirm button together with the <em class="parameter"><code>stock_id</code></em> icon.
 
484
<td>if non-<code class="literal">NULL</code>, this text is used on the confirm button together with the <em class="parameter"><code>stock_id</code></em> icon.
485
485
</td>
486
486
</tr>
487
487
<tr>
531
531
</div>
532
532
<div class="footer">
533
533
<hr>
534
 
          Generated by GTK-Doc V1.14</div>
 
534
          Generated by GTK-Doc V1.15</div>
535
535
</body>
536
536
</html>
 
 
b'\\ No newline at end of file'