~ubuntu-branches/ubuntu/lucid/gedit/lucid-proposed

« back to all changes in this revision

Viewing changes to docs/reference/html/GeditFileChooserDialog.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-03-18 00:37:05 UTC
  • mfrom: (1.1.76 upstream)
  • Revision ID: james.westby@ubuntu.com-20100318003705-typ8fgrsezmc334h
Tags: 2.29.9-0ubuntu1
* New upstream version:
  - Fix a file corruption bug in the new file saving code 
  - Misc bugfixes
* debian/patches/80_not_using_localmodlibs.patch:
  - dropped, the change is in the new version

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
 
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
2
 
<html>
3
 
<head>
4
 
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
5
 
<title>GeditFileChooserDialog</title>
6
 
<meta name="generator" content="DocBook XSL Stylesheets V1.75.2">
7
 
<link rel="home" href="index.html" title="gedit Reference Manual">
8
 
<link rel="up" href="ch01.html" title="gedit">
9
 
<link rel="prev" href="gedit-GeditEncodingsOptionMenu.html" title="GeditEncodingsOptionMenu">
10
 
<link rel="next" href="GeditMessageBus.html" title="GeditMessageBus">
11
 
<meta name="generator" content="GTK-Doc V1.11 (XML mode)">
12
 
<link rel="stylesheet" href="style.css" type="text/css">
13
 
<link rel="chapter" href="ch01.html" title="gedit">
14
 
</head>
15
 
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
16
 
<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2">
17
 
<tr valign="middle">
18
 
<td><a accesskey="p" href="gedit-GeditEncodingsOptionMenu.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td>
19
 
<td><a accesskey="u" href="ch01.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td>
20
 
<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td>
21
 
<th width="100%" align="center">gedit Reference Manual</th>
22
 
<td><a accesskey="n" href="GeditMessageBus.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td>
23
 
</tr>
24
 
<tr><td colspan="5" class="shortcuts">
25
 
<a href="#GeditFileChooserDialog.synopsis" class="shortcut">Top</a>
26
 
                 | 
27
 
                <a href="#GeditFileChooserDialog.description" class="shortcut">Description</a>
28
 
                 | 
29
 
                <a href="#GeditFileChooserDialog.object-hierarchy" class="shortcut">Object Hierarchy</a>
30
 
                 | 
31
 
                <a href="#GeditFileChooserDialog.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
32
 
</td></tr>
33
 
</table>
34
 
<div class="refentry" title="GeditFileChooserDialog">
35
 
<a name="GeditFileChooserDialog"></a><div class="titlepage"></div>
36
 
<div class="refnamediv"><table width="100%"><tr>
37
 
<td valign="top">
38
 
<h2><span class="refentrytitle"><a name="GeditFileChooserDialog.top_of_page"></a>GeditFileChooserDialog</span></h2>
39
 
<p>GeditFileChooserDialog</p>
40
 
</td>
41
 
<td valign="top" align="right"></td>
42
 
</tr></table></div>
43
 
<div class="refsynopsisdiv" title="Synopsis">
44
 
<a name="GeditFileChooserDialog.synopsis"></a><h2>Synopsis</h2>
45
 
<pre class="synopsis">
46
 
                    <a class="link" href="GeditFileChooserDialog.html#GeditFileChooserDialogPrivate" title="GeditFileChooserDialogPrivate">GeditFileChooserDialogPrivate</a>;
47
 
                    <a class="link" href="GeditFileChooserDialog.html#GeditFileChooserDialog-struct" title="GeditFileChooserDialog">GeditFileChooserDialog</a>;
48
 
<a
49
 
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
50
 
>GtkWidget</a> *         <a class="link" href="GeditFileChooserDialog.html#gedit-file-chooser-dialog-new" title="gedit_file_chooser_dialog_new ()">gedit_file_chooser_dialog_new</a>       (const <a
51
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
52
 
>gchar</a> *title,
53
 
                                                         <a
54
 
href="http://library.gnome.org/devel/gtk/unstable/GtkWindow.html"
55
 
>GtkWindow</a> *parent,
56
 
                                                         <a
57
 
href="http://library.gnome.org/devel/gtk/unstable/GtkFileChooser.html#GtkFileChooserAction"
58
 
>GtkFileChooserAction</a> action,
59
 
                                                         const <a class="link" href="gedit-gedit-encodings.html#GeditEncoding" title="GeditEncoding">GeditEncoding</a> *encoding,
60
 
                                                         const <a
61
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
62
 
>gchar</a> *first_button_text,
63
 
                                                         ...);
64
 
void                <a class="link" href="GeditFileChooserDialog.html#gedit-file-chooser-dialog-set-encoding" title="gedit_file_chooser_dialog_set_encoding ()">gedit_file_chooser_dialog_set_encoding</a>
65
 
                                                        (<a class="link" href="GeditFileChooserDialog.html" title="GeditFileChooserDialog">GeditFileChooserDialog</a> *dialog,
66
 
                                                         const <a class="link" href="gedit-gedit-encodings.html#GeditEncoding" title="GeditEncoding">GeditEncoding</a> *encoding);
67
 
</pre>
68
 
</div>
69
 
<div class="refsect1" title="Object Hierarchy">
70
 
<a name="GeditFileChooserDialog.object-hierarchy"></a><h2>Object Hierarchy</h2>
71
 
<pre class="synopsis">
72
 
  <a
73
 
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"
74
 
>GObject</a>
75
 
   +----<a
76
 
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
77
 
>GInitiallyUnowned</a>
78
 
         +----<a
79
 
href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html"
80
 
>GtkObject</a>
81
 
               +----<a
82
 
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
83
 
>GtkWidget</a>
84
 
                     +----<a
85
 
href="http://library.gnome.org/devel/gtk/unstable/GtkContainer.html"
86
 
>GtkContainer</a>
87
 
                           +----<a
88
 
href="http://library.gnome.org/devel/gtk/unstable/GtkBin.html"
89
 
>GtkBin</a>
90
 
                                 +----<a
91
 
href="http://library.gnome.org/devel/gtk/unstable/GtkWindow.html"
92
 
>GtkWindow</a>
93
 
                                       +----<a
94
 
href="http://library.gnome.org/devel/gtk/unstable/GtkDialog.html"
95
 
>GtkDialog</a>
96
 
                                             +----<a
97
 
href="http://library.gnome.org/devel/gtk/unstable/GtkFileChooserDialog.html"
98
 
>GtkFileChooserDialog</a>
99
 
                                                   +----GeditFileChooserDialog
100
 
</pre>
101
 
</div>
102
 
<div class="refsect1" title="Implemented Interfaces">
103
 
<a name="GeditFileChooserDialog.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
104
 
<p>
105
 
GeditFileChooserDialog implements
106
 
 AtkImplementorIface,  <a
107
 
href="http://library.gnome.org/devel/gtk/unstable/gtk-gtkbuildable.html#GtkBuildable"
108
 
>GtkBuildable</a> and  <a
109
 
href="http://library.gnome.org/devel/gtk/unstable/GtkFileChooser.html"
110
 
>GtkFileChooser</a>.</p>
111
 
</div>
112
 
<div class="refsect1" title="Description">
113
 
<a name="GeditFileChooserDialog.description"></a><h2>Description</h2>
114
 
<p>
115
 
</p>
116
 
</div>
117
 
<div class="refsect1" title="Details">
118
 
<a name="GeditFileChooserDialog.details"></a><h2>Details</h2>
119
 
<div class="refsect2" title="GeditFileChooserDialogPrivate">
120
 
<a name="GeditFileChooserDialogPrivate"></a><h3>GeditFileChooserDialogPrivate</h3>
121
 
<pre class="programlisting">typedef struct _GeditFileChooserDialogPrivate GeditFileChooserDialogPrivate;</pre>
122
 
<p>
123
 
</p>
124
 
</div>
125
 
<hr>
126
 
<div class="refsect2" title="GeditFileChooserDialog">
127
 
<a name="GeditFileChooserDialog-struct"></a><h3>GeditFileChooserDialog</h3>
128
 
<pre class="programlisting">typedef struct _GeditFileChooserDialog GeditFileChooserDialog;</pre>
129
 
<p>
130
 
</p>
131
 
</div>
132
 
<hr>
133
 
<div class="refsect2" title="gedit_file_chooser_dialog_new ()">
134
 
<a name="gedit-file-chooser-dialog-new"></a><h3>gedit_file_chooser_dialog_new ()</h3>
135
 
<pre class="programlisting"><a
136
 
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
137
 
>GtkWidget</a> *         gedit_file_chooser_dialog_new       (const <a
138
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
139
 
>gchar</a> *title,
140
 
                                                         <a
141
 
href="http://library.gnome.org/devel/gtk/unstable/GtkWindow.html"
142
 
>GtkWindow</a> *parent,
143
 
                                                         <a
144
 
href="http://library.gnome.org/devel/gtk/unstable/GtkFileChooser.html#GtkFileChooserAction"
145
 
>GtkFileChooserAction</a> action,
146
 
                                                         const <a class="link" href="gedit-gedit-encodings.html#GeditEncoding" title="GeditEncoding">GeditEncoding</a> *encoding,
147
 
                                                         const <a
148
 
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
149
 
>gchar</a> *first_button_text,
150
 
                                                         ...);</pre>
151
 
<p>
152
 
Creates a new <a class="link" href="GeditFileChooserDialog.html" title="GeditFileChooserDialog"><span class="type">GeditFileChooserDialog</span></a>.  This function is analogous to
153
 
<a
154
 
href="http://library.gnome.org/devel/gtk/unstable/GtkDialog.html#gtk-dialog-new-with-buttons"
155
 
><code class="function">gtk_dialog_new_with_buttons()</code></a>.</p>
156
 
<p>
157
 
</p>
158
 
<div class="variablelist"><table border="0">
159
 
<col align="left" valign="top">
160
 
<tbody>
161
 
<tr>
162
 
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
163
 
<td> Title of the dialog, or <code class="literal">NULL</code>
164
 
</td>
165
 
</tr>
166
 
<tr>
167
 
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
168
 
<td> Transient parent of the dialog, or <code class="literal">NULL</code>
169
 
</td>
170
 
</tr>
171
 
<tr>
172
 
<td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
173
 
<td> Open or save mode for the dialog
174
 
</td>
175
 
</tr>
176
 
<tr>
177
 
<td><p><span class="term"><em class="parameter"><code>encoding</code></em> :</span></p></td>
178
 
<td>
179
 
</td>
180
 
</tr>
181
 
<tr>
182
 
<td><p><span class="term"><em class="parameter"><code>first_button_text</code></em> :</span></p></td>
183
 
<td> stock ID or text to go in the first button, or <code class="literal">NULL</code>
184
 
</td>
185
 
</tr>
186
 
<tr>
187
 
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
188
 
<td> response ID for the first button, then additional (button, id) pairs, ending with <code class="literal">NULL</code>
189
 
</td>
190
 
</tr>
191
 
<tr>
192
 
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
193
 
<td> a new <a class="link" href="GeditFileChooserDialog.html" title="GeditFileChooserDialog"><span class="type">GeditFileChooserDialog</span></a>
194
 
 
195
 
</td>
196
 
</tr>
197
 
</tbody>
198
 
</table></div>
199
 
</div>
200
 
<hr>
201
 
<div class="refsect2" title="gedit_file_chooser_dialog_set_encoding ()">
202
 
<a name="gedit-file-chooser-dialog-set-encoding"></a><h3>gedit_file_chooser_dialog_set_encoding ()</h3>
203
 
<pre class="programlisting">void                gedit_file_chooser_dialog_set_encoding
204
 
                                                        (<a class="link" href="GeditFileChooserDialog.html" title="GeditFileChooserDialog">GeditFileChooserDialog</a> *dialog,
205
 
                                                         const <a class="link" href="gedit-gedit-encodings.html#GeditEncoding" title="GeditEncoding">GeditEncoding</a> *encoding);</pre>
206
 
<p>
207
 
</p>
208
 
<div class="variablelist"><table border="0">
209
 
<col align="left" valign="top">
210
 
<tbody>
211
 
<tr>
212
 
<td><p><span class="term"><em class="parameter"><code>dialog</code></em> :</span></p></td>
213
 
<td>
214
 
</td>
215
 
</tr>
216
 
<tr>
217
 
<td><p><span class="term"><em class="parameter"><code>encoding</code></em> :</span></p></td>
218
 
<td>
219
 
</td>
220
 
</tr>
221
 
</tbody>
222
 
</table></div>
223
 
</div>
224
 
</div>
225
 
</div>
226
 
<div class="footer">
227
 
<hr>
228
 
          Generated by GTK-Doc V1.11</div>
229
 
</body>
230
 
</html>