New upstream version 3.22.28
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
<link rel="up" href="SelectorWidgets.html" title="Selector Widgets and Dialogs">
|
||||
<link rel="prev" href="GtkFileChooser.html" title="GtkFileChooser">
|
||||
<link rel="next" href="gtk3-GtkFileChooserNative.html" title="GtkFileChooserNative">
|
||||
<meta name="generator" content="GTK-Doc V1.25.1 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -60,7 +60,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkFileChooserButton.html#gtk-file-chooser-button-get-title" title="gtk_file_chooser_button_get_title ()">gtk_file_chooser_button_get_title</a> <span class="c_punctuation">()</span>
|
||||
@ -76,7 +76,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<span class="returnvalue">gint</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkFileChooserButton.html#gtk-file-chooser-button-get-width-chars" title="gtk_file_chooser_button_get_width_chars ()">gtk_file_chooser_button_get_width_chars</a> <span class="c_punctuation">()</span>
|
||||
@ -92,7 +92,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<span class="returnvalue">gboolean</span>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkFileChooserButton.html#gtk-file-chooser-button-get-focus-on-click" title="gtk_file_chooser_button_get_focus_on_click ()">gtk_file_chooser_button_get_focus_on_click</a> <span class="c_punctuation">()</span>
|
||||
@ -126,12 +126,12 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</td>
|
||||
<span class="type">gchar</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkFileChooserButton.html#GtkFileChooserButton--title" title="The “title” property">title</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></td>
|
||||
<td class="property_type"><span class="type">gint</span></td>
|
||||
<td class="property_name"><a class="link" href="GtkFileChooserButton.html#GtkFileChooserButton--width-chars" title="The “width-chars” property">width-chars</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -149,7 +149,7 @@
|
||||
<tbody><tr>
|
||||
<td class="signal_type"><span class="returnvalue">void</span></td>
|
||||
<td class="signal_name"><a class="link" href="GtkFileChooserButton.html#GtkFileChooserButton-file-set" title="The “file-set” signal">file-set</a></td>
|
||||
<td class="signal_flags"><a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></td>
|
||||
<td class="signal_flags">Run First</td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
@ -174,8 +174,8 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkFileChooserButton.object-hierarchy"></a><h2>Object Hierarchy</h2>
|
||||
<pre class="screen"> <a href="../gobject/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<span class="lineart">╰──</span> <a href="../gobject/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GInitiallyUnowned
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a>
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a>
|
||||
<span class="lineart">╰──</span> <a class="link" href="GtkBox.html" title="GtkBox">GtkBox</a>
|
||||
@ -200,7 +200,7 @@ file. It implements the <a class="link" href="GtkFileChooser.html" title="GtkFi
|
||||
file name with a button to bring up a <a class="link" href="GtkFileChooserDialog.html" title="GtkFileChooserDialog"><span class="type">GtkFileChooserDialog</span></a>.
|
||||
The user can then use that dialog to change the file associated with
|
||||
that button. This widget does not support setting the
|
||||
<a class="link" href="GtkFileChooser.html#GtkFileChooser--select-multiple" title="The “select-multiple” property"><span class="type">“select-multiple”</span></a> property to <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</p>
|
||||
<a class="link" href="GtkFileChooser.html#GtkFileChooser--select-multiple" title="The “select-multiple” property"><span class="type">“select-multiple”</span></a> property to <code class="literal">TRUE</code>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="id-1.3.14.7.10.3"></a><h4>Create a button to let the user select a file in /etc</h4>
|
||||
<div class="informalexample">
|
||||
@ -215,14 +215,14 @@ that button. This widget does not support setting the
|
||||
6
|
||||
7
|
||||
8</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="gtkdoc opt">{</span>
|
||||
GtkWidget <span class="gtkdoc opt">*</span>button<span class="gtkdoc opt">;</span>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="cbracket">{</span>
|
||||
<span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">button</span><span class="symbol">;</span>
|
||||
|
||||
button <span class="gtkdoc opt">=</span> <span class="function"><a href="GtkFileChooserButton.html#gtk-file-chooser-button-new">gtk_file_chooser_button_new</a></span> <span class="gtkdoc opt">(</span><span class="function">_</span><span class="gtkdoc opt">(</span><span class="string">"Select a file"</span><span class="gtkdoc opt">),</span>
|
||||
GTK_FILE_CHOOSER_ACTION_OPEN<span class="gtkdoc opt">);</span>
|
||||
<span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-current-folder">gtk_file_chooser_set_current_folder</a></span> <span class="gtkdoc opt">(</span><span class="function">GTK_FILE_CHOOSER</span> <span class="gtkdoc opt">(</span>button<span class="gtkdoc opt">),</span>
|
||||
<span class="string">"/etc"</span><span class="gtkdoc opt">);</span>
|
||||
<span class="gtkdoc opt">}</span></pre></td>
|
||||
<span class="normal"> button </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="GtkFileChooserButton.html#gtk-file-chooser-button-new">gtk_file_chooser_button_new</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">_</span><span class="symbol">(</span><span class="string">"Select a file"</span><span class="symbol">),</span>
|
||||
<span class="normal"> <a href="GtkFileChooser.html#GTK-FILE-CHOOSER-ACTION-OPEN:CAPS">GTK_FILE_CHOOSER_ACTION_OPEN</a></span><span class="symbol">);</span>
|
||||
<span class="normal"> </span><span class="function"><a href="GtkFileChooser.html#gtk-file-chooser-set-current-folder">gtk_file_chooser_set_current_folder</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_FILE_CHOOSER</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">button</span><span class="symbol">),</span>
|
||||
<span class="normal"> </span><span class="string">"/etc"</span><span class="symbol">);</span>
|
||||
<span class="cbracket">}</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -244,7 +244,7 @@ widget.</p></blockquote></div>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-file-chooser-button-new"></a><h3>gtk_file_chooser_button_new ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> *
|
||||
gtk_file_chooser_button_new (<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>,
|
||||
gtk_file_chooser_button_new (<em class="parameter"><code>const <span class="type">gchar</span> *title</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkFileChooser.html#GtkFileChooserAction" title="enum GtkFileChooserAction"><span class="type">GtkFileChooserAction</span></a> action</code></em>);</pre>
|
||||
<p>Creates a new file-selecting button widget.</p>
|
||||
<div class="refsect3">
|
||||
@ -301,7 +301,7 @@ order for the button to take over the file selected in the dialog.</p>
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>dialog</p></td>
|
||||
<td class="parameter_description"><p> the widget to use as dialog. </p></td>
|
||||
<td class="parameter_description"><p>the widget to use as dialog. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="Override the parsed C type with given type."><span class="acronym">type</span></acronym> Gtk.Dialog]</span></td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
@ -315,7 +315,7 @@ order for the button to take over the file selected in the dialog.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-file-chooser-button-get-title"></a><h3>gtk_file_chooser_button_get_title ()</h3>
|
||||
<pre class="programlisting">const <a href="../glib/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
<pre class="programlisting">const <span class="returnvalue">gchar</span> *
|
||||
gtk_file_chooser_button_get_title (<em class="parameter"><code><a class="link" href="GtkFileChooserButton.html" title="GtkFileChooserButton"><span class="type">GtkFileChooserButton</span></a> *button</code></em>);</pre>
|
||||
<p>Retrieves the title of the browse dialog used by <em class="parameter"><code>button</code></em>
|
||||
. The returned value
|
||||
@ -346,7 +346,7 @@ should not be modified or freed.</p>
|
||||
<a name="gtk-file-chooser-button-set-title"></a><h3>gtk_file_chooser_button_set_title ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_file_chooser_button_set_title (<em class="parameter"><code><a class="link" href="GtkFileChooserButton.html" title="GtkFileChooserButton"><span class="type">GtkFileChooserButton</span></a> *button</code></em>,
|
||||
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *title</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *title</code></em>);</pre>
|
||||
<p>Modifies the <em class="parameter"><code>title</code></em>
|
||||
of the browse dialog used by <em class="parameter"><code>button</code></em>
|
||||
.</p>
|
||||
@ -377,7 +377,7 @@ gtk_file_chooser_button_set_title (<em class="parameter"><code><a class="link" h
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-file-chooser-button-get-width-chars"></a><h3>gtk_file_chooser_button_get_width_chars ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gint</span>
|
||||
gtk_file_chooser_button_get_width_chars
|
||||
(<em class="parameter"><code><a class="link" href="GtkFileChooserButton.html" title="GtkFileChooserButton"><span class="type">GtkFileChooserButton</span></a> *button</code></em>);</pre>
|
||||
<p>Retrieves the width in characters of the <em class="parameter"><code>button</code></em>
|
||||
@ -409,7 +409,7 @@ gtk_file_chooser_button_get_width_chars
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_file_chooser_button_set_width_chars
|
||||
(<em class="parameter"><code><a class="link" href="GtkFileChooserButton.html" title="GtkFileChooserButton"><span class="type">GtkFileChooserButton</span></a> *button</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> n_chars</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> n_chars</code></em>);</pre>
|
||||
<p>Sets the width (in characters) that <em class="parameter"><code>button</code></em>
|
||||
will use to <em class="parameter"><code>n_chars</code></em>
|
||||
.</p>
|
||||
@ -440,7 +440,7 @@ gtk_file_chooser_button_set_width_chars
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-file-chooser-button-get-focus-on-click"></a><h3>gtk_file_chooser_button_get_focus_on_click ()</h3>
|
||||
<pre class="programlisting"><a href="../glib/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
<pre class="programlisting"><span class="returnvalue">gboolean</span>
|
||||
gtk_file_chooser_button_get_focus_on_click
|
||||
(<em class="parameter"><code><a class="link" href="GtkFileChooserButton.html" title="GtkFileChooserButton"><span class="type">GtkFileChooserButton</span></a> *button</code></em>);</pre>
|
||||
<div class="warning">
|
||||
@ -466,7 +466,7 @@ See <a class="link" href="GtkFileChooserButton.html#gtk-file-chooser-button-set-
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-file-chooser-button-get-focus-on-click.returns"></a><h4>Returns</h4>
|
||||
<p> <a href="../glib/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> if the button grabs focus when it is clicked with
|
||||
<p> <code class="literal">TRUE</code> if the button grabs focus when it is clicked with
|
||||
the mouse.</p>
|
||||
</div>
|
||||
<p class="since">Since: 2.10</p>
|
||||
@ -477,7 +477,7 @@ the mouse.</p>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_file_chooser_button_set_focus_on_click
|
||||
(<em class="parameter"><code><a class="link" href="GtkFileChooserButton.html" title="GtkFileChooserButton"><span class="type">GtkFileChooserButton</span></a> *button</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> focus_on_click</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gboolean</span> focus_on_click</code></em>);</pre>
|
||||
<div class="warning">
|
||||
<p><code class="literal">gtk_file_chooser_button_set_focus_on_click</code> has been deprecated since version 3.20 and should not be used in newly-written code.</p>
|
||||
<p>Use <a class="link" href="GtkWidget.html#gtk-widget-set-focus-on-click" title="gtk_widget_set_focus_on_click ()"><code class="function">gtk_widget_set_focus_on_click()</code></a> instead</p>
|
||||
@ -556,7 +556,7 @@ application.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkFileChooserButton--title"></a><h3>The <code class="literal">“title”</code> property</h3>
|
||||
<pre class="programlisting"> “title” <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<pre class="programlisting"> “title” <span class="type">gchar</span> *</pre>
|
||||
<p>Title to put on the <a class="link" href="GtkFileChooserDialog.html" title="GtkFileChooserDialog"><span class="type">GtkFileChooserDialog</span></a> associated with the button.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: "Select a File"</p>
|
||||
@ -565,7 +565,7 @@ application.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkFileChooserButton--width-chars"></a><h3>The <code class="literal">“width-chars”</code> property</h3>
|
||||
<pre class="programlisting"> “width-chars” <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “width-chars” <span class="type">gint</span></pre>
|
||||
<p>The width of the entry and label inside the button, in characters.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: >= -1</p>
|
||||
@ -579,7 +579,7 @@ application.</p>
|
||||
<a name="GtkFileChooserButton-file-set"></a><h3>The <code class="literal">“file-set”</code> signal</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
user_function (<a class="link" href="GtkFileChooserButton.html" title="GtkFileChooserButton"><span class="type">GtkFileChooserButton</span></a> *widget,
|
||||
<a href="../glib/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data)</pre>
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<p>The ::file-set signal is emitted when the user selects a file.</p>
|
||||
<p>Note that this signal is only emitted when the user
|
||||
changes the file.</p>
|
||||
@ -605,7 +605,7 @@ changes the file.</p>
|
||||
</tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<p>Flags: <a href="../gobject/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></p>
|
||||
<p>Flags: Run First</p>
|
||||
<p class="since">Since: 2.12</p>
|
||||
</div>
|
||||
</div>
|
||||
@ -615,6 +615,6 @@ changes the file.</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.25.1</div>
|
||||
<hr>Generated by GTK-Doc V1.27</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user