~ubuntu-branches/ubuntu/lucid/rhythmbox/lucid

« back to all changes in this revision

Viewing changes to doc/reference/html/rhythmbox-rb-dialog.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-03-29 10:12:48 UTC
  • mfrom: (1.1.45 upstream)
  • Revision ID: james.westby@ubuntu.com-20100329101248-fu29j0q1s2dx8k99
Tags: 0.12.8-0ubuntu1
* New upstream version
* debian/patches/90_autoreconf.patch:
  - new version update

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="ch07.html" title="Widgets">
9
9
<link rel="prev" href="RBCellRendererRating.html" title="RBCellRendererRating">
10
10
<link rel="next" href="RBEntryView.html" title="RBEntryView">
11
 
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.13 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
<link rel="chapter" href="ch01.html" title="Backends">
14
14
<link rel="chapter" href="ch02.html" title="Lib">
29
29
</tr>
30
30
<tr><td colspan="5" class="shortcuts">
31
31
<a href="#rhythmbox-rb-dialog.synopsis" class="shortcut">Top</a>
32
 
                 | 
33
 
                <a href="#rhythmbox-rb-dialog.description" class="shortcut">Description</a>
 
32
                   | 
 
33
                  <a href="#rhythmbox-rb-dialog.description" class="shortcut">Description</a>
34
34
</td></tr>
35
35
</table>
36
36
<div class="refentry" title="rb-dialog">
44
44
</tr></table></div>
45
45
<div class="refsynopsisdiv" title="Synopsis">
46
46
<a name="rhythmbox-rb-dialog.synopsis"></a><h2>Synopsis</h2>
47
 
<pre class="synopsis">
48
 
void                <a class="link" href="rhythmbox-rb-dialog.html#rb-error-dialog" title="rb_error_dialog ()">rb_error_dialog</a>                     (<a
49
 
href="http://library.gnome.org/devel/gtk/unstable/GtkWindow.html"
50
 
>GtkWindow</a> *parent,
51
 
                                                         const char *primary,
52
 
                                                         const char *secondary,
 
47
<pre class="synopsis"><span class="returnvalue">void</span>                <a class="link" href="rhythmbox-rb-dialog.html#rb-error-dialog" title="rb_error_dialog ()">rb_error_dialog</a>                     (<a href="http://library.gnome.org/devel/gtk/unstable/GtkWindow.html"><span class="returnvalue">GtkWindow</span></a> *parent,
 
48
                                                         const <span class="returnvalue">char</span> *primary,
 
49
                                                         const <span class="returnvalue">char</span> *secondary,
53
50
                                                         ...);
54
 
<a
55
 
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
56
 
>GtkWidget</a> *         <a class="link" href="rhythmbox-rb-dialog.html#rb-file-chooser-new" title="rb_file_chooser_new ()">rb_file_chooser_new</a>                 (const char *title,
57
 
                                                         <a
58
 
href="http://library.gnome.org/devel/gtk/unstable/GtkWindow.html"
59
 
>GtkWindow</a> *parent,
60
 
                                                         <a
61
 
href="http://library.gnome.org/devel/gtk/unstable/GtkFileChooser.html#GtkFileChooserAction"
62
 
>GtkFileChooserAction</a> action,
63
 
                                                         <a
64
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
65
 
>gboolean</a> local_only);
 
51
<a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         <a class="link" href="rhythmbox-rb-dialog.html#rb-file-chooser-new" title="rb_file_chooser_new ()">rb_file_chooser_new</a>                 (const <span class="returnvalue">char</span> *title,
 
52
                                                         <a href="http://library.gnome.org/devel/gtk/unstable/GtkWindow.html"><span class="returnvalue">GtkWindow</span></a> *parent,
 
53
                                                         <a href="http://library.gnome.org/devel/gtk/unstable/GtkFileChooser.html#GtkFileChooserAction"><span class="returnvalue">GtkFileChooserAction</span></a> action,
 
54
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> local_only);
66
55
</pre>
67
56
</div>
68
57
<div class="refsect1" title="Description">
70
59
<p>
71
60
This provides a couple of shortcuts for creating dialogs.  If you want
72
61
to annoy the user by displaying an error message, this is the way to do it.</p>
73
 
<p>
74
 
</p>
75
62
</div>
76
63
<div class="refsect1" title="Details">
77
64
<a name="rhythmbox-rb-dialog.details"></a><h2>Details</h2>
78
65
<div class="refsect2" title="rb_error_dialog ()">
79
66
<a name="rb-error-dialog"></a><h3>rb_error_dialog ()</h3>
80
 
<pre class="programlisting">void                rb_error_dialog                     (<a
81
 
href="http://library.gnome.org/devel/gtk/unstable/GtkWindow.html"
82
 
>GtkWindow</a> *parent,
83
 
                                                         const char *primary,
84
 
                                                         const char *secondary,
 
67
<pre class="programlisting"><span class="returnvalue">void</span>                rb_error_dialog                     (<a href="http://library.gnome.org/devel/gtk/unstable/GtkWindow.html"><span class="returnvalue">GtkWindow</span></a> *parent,
 
68
                                                         const <span class="returnvalue">char</span> *primary,
 
69
                                                         const <span class="returnvalue">char</span> *secondary,
85
70
                                                         ...);</pre>
86
71
<p>
87
72
Creates and displays a simple error dialog box containing a primary
93
78
Care should be taken to avoid opening multiple error dialog boxes
94
79
when a single error message (such as 'out of disk space') affects
95
80
multiple items.</p>
96
 
<p>
97
 
</p>
98
81
<div class="variablelist"><table border="0">
99
82
<col align="left" valign="top">
100
83
<tbody>
101
84
<tr>
102
85
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
103
 
<td> parent <a
104
 
href="http://library.gnome.org/devel/gtk/unstable/GtkWindow.html"
105
 
><span class="type">GtkWindow</span></a> for the dialog
 
86
<td> parent <a href="http://library.gnome.org/devel/gtk/unstable/GtkWindow.html"><span class="type">GtkWindow</span></a> for the dialog
106
87
</td>
107
88
</tr>
108
89
<tr>
126
107
<hr>
127
108
<div class="refsect2" title="rb_file_chooser_new ()">
128
109
<a name="rb-file-chooser-new"></a><h3>rb_file_chooser_new ()</h3>
129
 
<pre class="programlisting"><a
130
 
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
131
 
>GtkWidget</a> *         rb_file_chooser_new                 (const char *title,
132
 
                                                         <a
133
 
href="http://library.gnome.org/devel/gtk/unstable/GtkWindow.html"
134
 
>GtkWindow</a> *parent,
135
 
                                                         <a
136
 
href="http://library.gnome.org/devel/gtk/unstable/GtkFileChooser.html#GtkFileChooserAction"
137
 
>GtkFileChooserAction</a> action,
138
 
                                                         <a
139
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"
140
 
>gboolean</a> local_only);</pre>
 
110
<pre class="programlisting"><a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="returnvalue">GtkWidget</span></a> *         rb_file_chooser_new                 (const <span class="returnvalue">char</span> *title,
 
111
                                                         <a href="http://library.gnome.org/devel/gtk/unstable/GtkWindow.html"><span class="returnvalue">GtkWindow</span></a> *parent,
 
112
                                                         <a href="http://library.gnome.org/devel/gtk/unstable/GtkFileChooser.html#GtkFileChooserAction"><span class="returnvalue">GtkFileChooserAction</span></a> action,
 
113
                                                         <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> local_only);</pre>
141
114
<p>
142
115
Creates and shows a regular gtk+ file chooser dialog with
143
116
a given title.  The user's music directory (typically ~/Music) is
149
122
<p>
150
123
After creating the dialog, the caller should connect a handler to its 
151
124
'response' signal to process the user's selected files or folders.</p>
152
 
<p>
153
 
</p>
154
125
<div class="variablelist"><table border="0">
155
126
<col align="left" valign="top">
156
127
<tbody>
161
132
</tr>
162
133
<tr>
163
134
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
164
 
<td> parent <a
165
 
href="http://library.gnome.org/devel/gtk/unstable/GtkWindow.html"
166
 
><span class="type">GtkWindow</span></a> for the file chooser
 
135
<td> parent <a href="http://library.gnome.org/devel/gtk/unstable/GtkWindow.html"><span class="type">GtkWindow</span></a> for the file chooser
167
136
</td>
168
137
</tr>
169
138
<tr>
170
139
<td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
171
 
<td> the <a
172
 
href="http://library.gnome.org/devel/gtk/unstable/GtkFileChooser.html#GtkFileChooserAction"
173
 
><span class="type">GtkFileChooserAction</span></a>
 
140
<td> the <a href="http://library.gnome.org/devel/gtk/unstable/GtkFileChooser.html#GtkFileChooserAction"><span class="type">GtkFileChooserAction</span></a>
174
141
</td>
175
142
</tr>
176
143
<tr>
180
147
</tr>
181
148
<tr>
182
149
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
183
 
<td> the file chooser <a
184
 
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
185
 
><span class="type">GtkWidget</span></a>
 
150
<td> the file chooser <a href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"><span class="type">GtkWidget</span></a>
186
151
</td>
187
152
</tr>
188
153
</tbody>
192
157
</div>
193
158
<div class="footer">
194
159
<hr>
195
 
          Generated by GTK-Doc V1.11</div>
 
160
          Generated by GTK-Doc V1.13</div>
196
161
</body>
197
 
</html>
 
162
</html>
 
 
b'\\ No newline at end of file'