1
<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
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">
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">
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>
24
<tr><td colspan="5" class="shortcuts">
25
<a href="#GeditFileChooserDialog.synopsis" class="shortcut">Top</a>
27
<a href="#GeditFileChooserDialog.description" class="shortcut">Description</a>
29
<a href="#GeditFileChooserDialog.object-hierarchy" class="shortcut">Object Hierarchy</a>
31
<a href="#GeditFileChooserDialog.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
34
<div class="refentry" title="GeditFileChooserDialog">
35
<a name="GeditFileChooserDialog"></a><div class="titlepage"></div>
36
<div class="refnamediv"><table width="100%"><tr>
38
<h2><span class="refentrytitle"><a name="GeditFileChooserDialog.top_of_page"></a>GeditFileChooserDialog</span></h2>
39
<p>GeditFileChooserDialog</p>
41
<td valign="top" align="right"></td>
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>;
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"
54
href="http://library.gnome.org/devel/gtk/unstable/GtkWindow.html"
55
>GtkWindow</a> *parent,
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,
61
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
62
>gchar</a> *first_button_text,
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);
69
<div class="refsect1" title="Object Hierarchy">
70
<a name="GeditFileChooserDialog.object-hierarchy"></a><h2>Object Hierarchy</h2>
71
<pre class="synopsis">
73
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject"
76
href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned"
77
>GInitiallyUnowned</a>
79
href="http://library.gnome.org/devel/gtk/unstable/GtkObject.html"
82
href="http://library.gnome.org/devel/gtk/unstable/GtkWidget.html"
85
href="http://library.gnome.org/devel/gtk/unstable/GtkContainer.html"
88
href="http://library.gnome.org/devel/gtk/unstable/GtkBin.html"
91
href="http://library.gnome.org/devel/gtk/unstable/GtkWindow.html"
94
href="http://library.gnome.org/devel/gtk/unstable/GtkDialog.html"
97
href="http://library.gnome.org/devel/gtk/unstable/GtkFileChooserDialog.html"
98
>GtkFileChooserDialog</a>
99
+----GeditFileChooserDialog
102
<div class="refsect1" title="Implemented Interfaces">
103
<a name="GeditFileChooserDialog.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
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>
112
<div class="refsect1" title="Description">
113
<a name="GeditFileChooserDialog.description"></a><h2>Description</h2>
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>
126
<div class="refsect2" title="GeditFileChooserDialog">
127
<a name="GeditFileChooserDialog-struct"></a><h3>GeditFileChooserDialog</h3>
128
<pre class="programlisting">typedef struct _GeditFileChooserDialog GeditFileChooserDialog;</pre>
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"
141
href="http://library.gnome.org/devel/gtk/unstable/GtkWindow.html"
142
>GtkWindow</a> *parent,
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,
148
href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"
149
>gchar</a> *first_button_text,
152
Creates a new <a class="link" href="GeditFileChooserDialog.html" title="GeditFileChooserDialog"><span class="type">GeditFileChooserDialog</span></a>. This function is analogous to
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>
158
<div class="variablelist"><table border="0">
159
<col align="left" valign="top">
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>
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>
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
177
<td><p><span class="term"><em class="parameter"><code>encoding</code></em> :</span></p></td>
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>
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>
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>
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>
208
<div class="variablelist"><table border="0">
209
<col align="left" valign="top">
212
<td><p><span class="term"><em class="parameter"><code>dialog</code></em> :</span></p></td>
217
<td><p><span class="term"><em class="parameter"><code>encoding</code></em> :</span></p></td>
228
Generated by GTK-Doc V1.11</div>