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-gedit-encodings-option-menu.html" title="GeditEncodingsOptionMenu">
10
<link rel="next" href="GeditMessageBus.html" title="GeditMessageBus">
11
<meta name="generator" content="GTK-Doc V1.14 (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-gedit-encodings-option-menu.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="#gedit-gedit-file-chooser-dialog.synopsis" class="shortcut">Top</a>
27
<a href="#gedit-gedit-file-chooser-dialog.description" class="shortcut">Description</a>
29
<a href="#gedit-gedit-file-chooser-dialog.object-hierarchy" class="shortcut">Object Hierarchy</a>
31
<a href="#gedit-gedit-file-chooser-dialog.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
34
<div class="refentry" title="GeditFileChooserDialog">
35
<a name="gedit-gedit-file-chooser-dialog"></a><div class="titlepage"></div>
36
<div class="refnamediv"><table width="100%"><tr>
38
<h2><span class="refentrytitle"><a name="gedit-gedit-file-chooser-dialog.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="gedit-gedit-file-chooser-dialog.synopsis"></a><h2>Synopsis</h2>
45
<a name="GeditFileChooserDialog"></a><pre class="synopsis"> <a class="link" href="gedit-gedit-file-chooser-dialog.html#GeditFileChooserDialogPrivate" title="GeditFileChooserDialogPrivate">GeditFileChooserDialogPrivate</a>;
46
<a class="link" href="gedit-gedit-file-chooser-dialog.html#GeditFileChooserDialog-struct" title="GeditFileChooserDialog">GeditFileChooserDialog</a>;
47
<span class="returnvalue">GtkWidget</span> * <a class="link" href="gedit-gedit-file-chooser-dialog.html#gedit-file-chooser-dialog-new" title="gedit_file_chooser_dialog_new ()">gedit_file_chooser_dialog_new</a> (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>,
48
<em class="parameter"><code><span class="type">GtkWindow</span> *parent</code></em>,
49
<em class="parameter"><code><span class="type">GtkFileChooserAction</span> action</code></em>,
50
<em class="parameter"><code>const <a class="link" href="gedit-gedit-encodings.html#GeditEncoding" title="GeditEncoding"><span class="type">GeditEncoding</span></a> *encoding</code></em>,
51
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_button_text</code></em>,
52
<em class="parameter"><code>...</code></em>);
53
<span class="returnvalue">void</span> <a class="link" href="gedit-gedit-file-chooser-dialog.html#gedit-file-chooser-dialog-set-encoding" title="gedit_file_chooser_dialog_set_encoding ()">gedit_file_chooser_dialog_set_encoding</a>
54
(<em class="parameter"><code><a class="link" href="gedit-gedit-file-chooser-dialog.html#GeditFileChooserDialog"><span class="type">GeditFileChooserDialog</span></a> *dialog</code></em>,
55
<em class="parameter"><code>const <a class="link" href="gedit-gedit-encodings.html#GeditEncoding" title="GeditEncoding"><span class="type">GeditEncoding</span></a> *encoding</code></em>);
58
<div class="refsect1" title="Object Hierarchy">
59
<a name="gedit-gedit-file-chooser-dialog.object-hierarchy"></a><h2>Object Hierarchy</h2>
60
<pre class="synopsis">
61
<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a>
62
+----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
69
+----GtkFileChooserDialog
70
+----GeditFileChooserDialog
73
<div class="refsect1" title="Implemented Interfaces">
74
<a name="gedit-gedit-file-chooser-dialog.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
76
GeditFileChooserDialog implements
77
AtkImplementorIface, GtkBuildable and GtkFileChooser.</p>
79
<div class="refsect1" title="Description">
80
<a name="gedit-gedit-file-chooser-dialog.description"></a><h2>Description</h2>
82
<div class="refsect1" title="Details">
83
<a name="gedit-gedit-file-chooser-dialog.details"></a><h2>Details</h2>
84
<div class="refsect2" title="GeditFileChooserDialogPrivate">
85
<a name="GeditFileChooserDialogPrivate"></a><h3>GeditFileChooserDialogPrivate</h3>
86
<pre class="programlisting">typedef struct _GeditFileChooserDialogPrivate GeditFileChooserDialogPrivate;</pre>
89
<div class="refsect2" title="GeditFileChooserDialog">
90
<a name="GeditFileChooserDialog-struct"></a><h3>GeditFileChooserDialog</h3>
91
<pre class="programlisting">typedef struct _GeditFileChooserDialog GeditFileChooserDialog;</pre>
94
<div class="refsect2" title="gedit_file_chooser_dialog_new ()">
95
<a name="gedit-file-chooser-dialog-new"></a><h3>gedit_file_chooser_dialog_new ()</h3>
96
<pre class="programlisting"><span class="returnvalue">GtkWidget</span> * gedit_file_chooser_dialog_new (<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>,
97
<em class="parameter"><code><span class="type">GtkWindow</span> *parent</code></em>,
98
<em class="parameter"><code><span class="type">GtkFileChooserAction</span> action</code></em>,
99
<em class="parameter"><code>const <a class="link" href="gedit-gedit-encodings.html#GeditEncoding" title="GeditEncoding"><span class="type">GeditEncoding</span></a> *encoding</code></em>,
100
<em class="parameter"><code>const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *first_button_text</code></em>,
101
<em class="parameter"><code>...</code></em>);</pre>
103
Creates a new <a class="link" href="gedit-gedit-file-chooser-dialog.html#GeditFileChooserDialog"><span class="type">GeditFileChooserDialog</span></a>. This function is analogous to
104
<code class="function">gtk_dialog_new_with_buttons()</code>.</p>
105
<div class="variablelist"><table border="0">
106
<col align="left" valign="top">
109
<td><p><span class="term"><em class="parameter"><code>title</code></em> :</span></p></td>
110
<td>Title of the dialog, or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
114
<td><p><span class="term"><em class="parameter"><code>parent</code></em> :</span></p></td>
115
<td>Transient parent of the dialog, or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
119
<td><p><span class="term"><em class="parameter"><code>action</code></em> :</span></p></td>
120
<td>Open or save mode for the dialog
124
<td><p><span class="term"><em class="parameter"><code>first_button_text</code></em> :</span></p></td>
125
<td>stock ID or text to go in the first button, or <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
129
<td><p><span class="term"><em class="parameter"><code>...</code></em> :</span></p></td>
130
<td>response ID for the first button, then additional (button, id) pairs, ending with <a href="/opt/gnome/share/gtk-doc/html/liboil/liboil-liboiljunk.html#NULL:CAPS"><code class="literal">NULL</code></a>
134
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
135
<td> a new <a class="link" href="gedit-gedit-file-chooser-dialog.html#GeditFileChooserDialog"><span class="type">GeditFileChooserDialog</span></a>
143
<div class="refsect2" title="gedit_file_chooser_dialog_set_encoding ()">
144
<a name="gedit-file-chooser-dialog-set-encoding"></a><h3>gedit_file_chooser_dialog_set_encoding ()</h3>
145
<pre class="programlisting"><span class="returnvalue">void</span> gedit_file_chooser_dialog_set_encoding
146
(<em class="parameter"><code><a class="link" href="gedit-gedit-file-chooser-dialog.html#GeditFileChooserDialog"><span class="type">GeditFileChooserDialog</span></a> *dialog</code></em>,
147
<em class="parameter"><code>const <a class="link" href="gedit-gedit-encodings.html#GeditEncoding" title="GeditEncoding"><span class="type">GeditEncoding</span></a> *encoding</code></em>);</pre>
153
Generated by GTK-Doc V1.14</div>
b'\\ No newline at end of file'