New upstream version 3.24.0
This commit is contained in:
@ -60,7 +60,7 @@
|
||||
</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">const <span class="returnvalue">gchar</span> *
|
||||
<td class="function_type">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
</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">
|
||||
<span class="returnvalue">gint</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
</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">
|
||||
<span class="returnvalue">gboolean</span>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
</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">
|
||||
<span class="type">gchar</span> *</td>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</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"><span class="type">gint</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></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">Run First</td>
|
||||
<td class="signal_flags"><a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></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"> GObject
|
||||
<span class="lineart">╰──</span> GInitiallyUnowned
|
||||
<pre class="screen"> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GObject-struct">GObject</a>
|
||||
<span class="lineart">╰──</span> <a href="https://developer.gnome.org/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a>
|
||||
<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 <code class="literal">TRUE</code>.</p>
|
||||
<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="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>.</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">
|
||||
@ -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 <span class="type">gchar</span> *title</code></em>,
|
||||
gtk_file_chooser_button_new (<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *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">
|
||||
@ -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 <span class="returnvalue">gchar</span> *
|
||||
<pre class="programlisting">const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> *
|
||||
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 <span class="type">gchar</span> *title</code></em>);</pre>
|
||||
<em class="parameter"><code>const <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *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"><span class="returnvalue">gint</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="returnvalue">gint</span></a>
|
||||
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><span class="type">gint</span> n_chars</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a> 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"><span class="returnvalue">gboolean</span>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a>
|
||||
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> <code class="literal">TRUE</code> if the button grabs focus when it is clicked with
|
||||
<p> <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a> 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><span class="type">gboolean</span> focus_on_click</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> 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” <span class="type">gchar</span> *</pre>
|
||||
<pre class="programlisting"> “title” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</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” <span class="type">gint</span></pre>
|
||||
<pre class="programlisting"> “width-chars” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gint"><span class="type">gint</span></a></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,
|
||||
<span class="type">gpointer</span> user_data)</pre>
|
||||
<a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> 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: Run First</p>
|
||||
<p>Flags: <a href="https://developer.gnome.org/gobject/unstable/gobject-Signals.html#G-SIGNAL-RUN-FIRST:CAPS">Run First</a></p>
|
||||
<p class="since">Since: 2.12</p>
|
||||
</div>
|
||||
</div>
|
||||
|
Reference in New Issue
Block a user