~ubuntu-branches/ubuntu/maverick/gedit/maverick

« back to all changes in this revision

Viewing changes to docs/reference/html/gedit-gedit-file-chooser-dialog.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-03-29 23:18:50 UTC
  • mfrom: (1.1.77 upstream)
  • Revision ID: james.westby@ubuntu.com-20100329231850-ag7y77hrjpw6nzfx
Tags: 2.30.0-0ubuntu1
* New upstream version:
  - Fix a crash in the new file saving code (lp: #542846)
  - Misc bugfixes

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-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">
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-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>
23
 
</tr>
24
 
<tr><td colspan="5" class="shortcuts">
25
 
<a href="#gedit-gedit-file-chooser-dialog.synopsis" class="shortcut">Top</a>
26
 
                   | 
27
 
                  <a href="#gedit-gedit-file-chooser-dialog.description" class="shortcut">Description</a>
28
 
                   | 
29
 
                  <a href="#gedit-gedit-file-chooser-dialog.object-hierarchy" class="shortcut">Object Hierarchy</a>
30
 
                   | 
31
 
                  <a href="#gedit-gedit-file-chooser-dialog.implemented-interfaces" class="shortcut">Implemented Interfaces</a>
32
 
</td></tr>
33
 
</table>
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>
37
 
<td valign="top">
38
 
<h2><span class="refentrytitle"><a name="gedit-gedit-file-chooser-dialog.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="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>);
56
 
</pre>
57
 
</div>
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>
63
 
         +----GtkObject
64
 
               +----GtkWidget
65
 
                     +----GtkContainer
66
 
                           +----GtkBin
67
 
                                 +----GtkWindow
68
 
                                       +----GtkDialog
69
 
                                             +----GtkFileChooserDialog
70
 
                                                   +----GeditFileChooserDialog
71
 
</pre>
72
 
</div>
73
 
<div class="refsect1" title="Implemented Interfaces">
74
 
<a name="gedit-gedit-file-chooser-dialog.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
75
 
<p>
76
 
GeditFileChooserDialog implements
77
 
 AtkImplementorIface,  GtkBuildable and  GtkFileChooser.</p>
78
 
</div>
79
 
<div class="refsect1" title="Description">
80
 
<a name="gedit-gedit-file-chooser-dialog.description"></a><h2>Description</h2>
81
 
</div>
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>
87
 
</div>
88
 
<hr>
89
 
<div class="refsect2" title="GeditFileChooserDialog">
90
 
<a name="GeditFileChooserDialog-struct"></a><h3>GeditFileChooserDialog</h3>
91
 
<pre class="programlisting">typedef struct _GeditFileChooserDialog GeditFileChooserDialog;</pre>
92
 
</div>
93
 
<hr>
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>
102
 
<p>
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">
107
 
<tbody>
108
 
<tr>
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>
111
 
</td>
112
 
</tr>
113
 
<tr>
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>
116
 
</td>
117
 
</tr>
118
 
<tr>
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
121
 
</td>
122
 
</tr>
123
 
<tr>
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>
126
 
</td>
127
 
</tr>
128
 
<tr>
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>
131
 
</td>
132
 
</tr>
133
 
<tr>
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>
136
 
 
137
 
</td>
138
 
</tr>
139
 
</tbody>
140
 
</table></div>
141
 
</div>
142
 
<hr>
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>
148
 
</div>
149
 
</div>
150
 
</div>
151
 
<div class="footer">
152
 
<hr>
153
 
          Generated by GTK-Doc V1.14</div>
154
 
</body>
155
 
</html>
 
 
b'\\ No newline at end of file'