diff options
Diffstat (limited to 'gtk+-mingw/share/gtk-doc/html/gtk3/GtkAppChooserButton.html')
-rw-r--r-- | gtk+-mingw/share/gtk-doc/html/gtk3/GtkAppChooserButton.html | 485 |
1 files changed, 0 insertions, 485 deletions
diff --git a/gtk+-mingw/share/gtk-doc/html/gtk3/GtkAppChooserButton.html b/gtk+-mingw/share/gtk-doc/html/gtk3/GtkAppChooserButton.html deleted file mode 100644 index 466e16f..0000000 --- a/gtk+-mingw/share/gtk-doc/html/gtk3/GtkAppChooserButton.html +++ /dev/null @@ -1,485 +0,0 @@ -<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN"> -<html> -<head> -<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"> -<title>GtkAppChooserButton</title> -<meta name="generator" content="DocBook XSL Stylesheets V1.76.1"> -<link rel="home" href="index.html" title="GTK+ 3 Reference Manual"> -<link rel="up" href="ApplicationChoosing.html" title="Choosing from installed applications"> -<link rel="prev" href="GtkAppChooser.html" title="GtkAppChooser"> -<link rel="next" href="GtkAppChooserDialog.html" title="GtkAppChooserDialog"> -<meta name="generator" content="GTK-Doc V1.18.1 (XML mode)"> -<link rel="stylesheet" href="style.css" type="text/css"> -</head> -<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"> -<table class="navigation" id="top" width="100%" summary="Navigation header" cellpadding="2" cellspacing="2"> -<tr valign="middle"> -<td><a accesskey="p" href="GtkAppChooser.html"><img src="left.png" width="24" height="24" border="0" alt="Prev"></a></td> -<td><a accesskey="u" href="ApplicationChoosing.html"><img src="up.png" width="24" height="24" border="0" alt="Up"></a></td> -<td><a accesskey="h" href="index.html"><img src="home.png" width="24" height="24" border="0" alt="Home"></a></td> -<th width="100%" align="center">GTK+ 3 Reference Manual</th> -<td><a accesskey="n" href="GtkAppChooserDialog.html"><img src="right.png" width="24" height="24" border="0" alt="Next"></a></td> -</tr> -<tr><td colspan="5" class="shortcuts"> -<a href="#GtkAppChooserButton.synopsis" class="shortcut">Top</a> - | - <a href="#GtkAppChooserButton.description" class="shortcut">Description</a> - | - <a href="#GtkAppChooserButton.object-hierarchy" class="shortcut">Object Hierarchy</a> - | - <a href="#GtkAppChooserButton.implemented-interfaces" class="shortcut">Implemented Interfaces</a> - | - <a href="#GtkAppChooserButton.properties" class="shortcut">Properties</a> - | - <a href="#GtkAppChooserButton.signals" class="shortcut">Signals</a> -</td></tr> -</table> -<div class="refentry"> -<a name="GtkAppChooserButton"></a><div class="titlepage"></div> -<div class="refnamediv"><table width="100%"><tr> -<td valign="top"> -<h2><span class="refentrytitle"><a name="GtkAppChooserButton.top_of_page"></a>GtkAppChooserButton</span></h2> -<p>GtkAppChooserButton — A button to launch an application chooser dialog</p> -</td> -<td valign="top" align="right"><img src="appchooserbutton.png"></td> -</tr></table></div> -<div class="refsynopsisdiv"> -<a name="GtkAppChooserButton.synopsis"></a><h2>Synopsis</h2> -<pre class="synopsis"> -#include <gtk/gtk.h> - -struct <a class="link" href="GtkAppChooserButton.html#GtkAppChooserButton-struct" title="struct GtkAppChooserButton">GtkAppChooserButton</a>; -<a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * <a class="link" href="GtkAppChooserButton.html#gtk-app-chooser-button-new" title="gtk_app_chooser_button_new ()">gtk_app_chooser_button_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> *content_type</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkAppChooserButton.html#gtk-app-chooser-button-append-custom-item" title="gtk_app_chooser_button_append_custom_item ()">gtk_app_chooser_button_append_custom_item</a> - (<em class="parameter"><code><a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> *self</code></em>, - <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> *name</code></em>, - <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> *label</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GIcon.html"><span class="type">GIcon</span></a> *icon</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkAppChooserButton.html#gtk-app-chooser-button-append-separator" title="gtk_app_chooser_button_append_separator ()">gtk_app_chooser_button_append_separator</a> - (<em class="parameter"><code><a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> *self</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkAppChooserButton.html#gtk-app-chooser-button-set-active-custom-item" title="gtk_app_chooser_button_set_active_custom_item ()">gtk_app_chooser_button_set_active_custom_item</a> - (<em class="parameter"><code><a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> *self</code></em>, - <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> *name</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkAppChooserButton.html#gtk-app-chooser-button-get-show-default-item" title="gtk_app_chooser_button_get_show_default_item ()">gtk_app_chooser_button_get_show_default_item</a> - (<em class="parameter"><code><a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> *self</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkAppChooserButton.html#gtk-app-chooser-button-set-show-default-item" title="gtk_app_chooser_button_set_show_default_item ()">gtk_app_chooser_button_set_show_default_item</a> - (<em class="parameter"><code><a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> *self</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> setting</code></em>); -<a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> <a class="link" href="GtkAppChooserButton.html#gtk-app-chooser-button-get-show-dialog-item" title="gtk_app_chooser_button_get_show_dialog_item ()">gtk_app_chooser_button_get_show_dialog_item</a> - (<em class="parameter"><code><a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> *self</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkAppChooserButton.html#gtk-app-chooser-button-set-show-dialog-item" title="gtk_app_chooser_button_set_show_dialog_item ()">gtk_app_chooser_button_set_show_dialog_item</a> - (<em class="parameter"><code><a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> *self</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> setting</code></em>); -const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * <a class="link" href="GtkAppChooserButton.html#gtk-app-chooser-button-get-heading" title="gtk_app_chooser_button_get_heading ()">gtk_app_chooser_button_get_heading</a> (<em class="parameter"><code><a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> *self</code></em>); -<span class="returnvalue">void</span> <a class="link" href="GtkAppChooserButton.html#gtk-app-chooser-button-set-heading" title="gtk_app_chooser_button_set_heading ()">gtk_app_chooser_button_set_heading</a> (<em class="parameter"><code><a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> *self</code></em>, - <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> *heading</code></em>); -</pre> -</div> -<div class="refsect1"> -<a name="GtkAppChooserButton.object-hierarchy"></a><h2>Object Hierarchy</h2> -<pre class="synopsis"> - <a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GObject">GObject</a> - +----<a href="http://library.gnome.org/devel/gobject/unstable/gobject-The-Base-Object-Type.html#GInitiallyUnowned">GInitiallyUnowned</a> - +----<a class="link" href="GtkWidget.html" title="GtkWidget">GtkWidget</a> - +----<a class="link" href="GtkContainer.html" title="GtkContainer">GtkContainer</a> - +----<a class="link" href="GtkBin.html" title="GtkBin">GtkBin</a> - +----<a class="link" href="GtkComboBox.html" title="GtkComboBox">GtkComboBox</a> - +----GtkAppChooserButton -</pre> -</div> -<div class="refsect1"> -<a name="GtkAppChooserButton.implemented-interfaces"></a><h2>Implemented Interfaces</h2> -<p> -GtkAppChooserButton implements - AtkImplementorIface, <a class="link" href="GtkBuildable.html" title="GtkBuildable">GtkBuildable</a>, <a class="link" href="GtkCellLayout.html" title="GtkCellLayout">GtkCellLayout</a>, <a class="link" href="GtkCellEditable.html" title="GtkCellEditable">GtkCellEditable</a> and <a class="link" href="GtkAppChooser.html" title="GtkAppChooser">GtkAppChooser</a>.</p> -</div> -<div class="refsect1"> -<a name="GtkAppChooserButton.properties"></a><h2>Properties</h2> -<pre class="synopsis"> - "<a class="link" href="GtkAppChooserButton.html#GtkAppChooserButton--heading" title='The "heading" property'>heading</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write - "<a class="link" href="GtkAppChooserButton.html#GtkAppChooserButton--show-default-item" title='The "show-default-item" property'>show-default-item</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct - "<a class="link" href="GtkAppChooserButton.html#GtkAppChooserButton--show-dialog-item" title='The "show-dialog-item" property'>show-dialog-item</a>" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct -</pre> -</div> -<div class="refsect1"> -<a name="GtkAppChooserButton.signals"></a><h2>Signals</h2> -<pre class="synopsis"> - "<a class="link" href="GtkAppChooserButton.html#GtkAppChooserButton-custom-item-activated" title='The "custom-item-activated" signal'>custom-item-activated</a>" : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-DETAILED:CAPS"><code class="literal">Has Details</code></a> -</pre> -</div> -<div class="refsect1"> -<a name="GtkAppChooserButton.description"></a><h2>Description</h2> -<p> -The <a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> is a widget that lets the user select -an application. It implements the <a class="link" href="GtkAppChooser.html" title="GtkAppChooser"><span class="type">GtkAppChooser</span></a> interface. -</p> -<p> -Initially, a <a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> selects the first application -in its list, which will either be the most-recently used application -or, if <a class="link" href="GtkAppChooserButton.html#GtkAppChooserButton--show-default-item" title='The "show-default-item" property'><span class="type">"show-default-item"</span></a> is <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, the -default application. -</p> -<p> -The list of applications shown in a <a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> includes -the recommended applications for the given content type. When -<a class="link" href="GtkAppChooserButton.html#GtkAppChooserButton--show-default-item" title='The "show-default-item" property'><span class="type">"show-default-item"</span></a> is set, the default application -is also included. To let the user chooser other applications, -you can set the <a class="link" href="GtkAppChooserButton.html#GtkAppChooserButton--show-dialog-item" title='The "show-dialog-item" property'><span class="type">"show-dialog-item"</span></a> property, -which allows to open a full <a class="link" href="GtkAppChooserDialog.html" title="GtkAppChooserDialog"><span class="type">GtkAppChooserDialog</span></a>. -</p> -<p> -It is possible to add custom items to the list, using -<a class="link" href="GtkAppChooserButton.html#gtk-app-chooser-button-append-custom-item" title="gtk_app_chooser_button_append_custom_item ()"><code class="function">gtk_app_chooser_button_append_custom_item()</code></a>. These items cause -the <a class="link" href="GtkAppChooserButton.html#GtkAppChooserButton-custom-item-activated" title='The "custom-item-activated" signal'><span class="type">"custom-item-activated"</span></a> signal to be -emitted when they are selected. -</p> -<p> -To track changes in the selected application, use the -<a class="link" href="GtkComboBox.html#GtkComboBox-changed" title='The "changed" signal'><span class="type">"changed"</span></a> signal. -</p> -</div> -<div class="refsect1"> -<a name="GtkAppChooserButton.details"></a><h2>Details</h2> -<div class="refsect2"> -<a name="GtkAppChooserButton-struct"></a><h3>struct GtkAppChooserButton</h3> -<pre class="programlisting">struct GtkAppChooserButton;</pre> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-app-chooser-button-new"></a><h3>gtk_app_chooser_button_new ()</h3> -<pre class="programlisting"><a class="link" href="GtkWidget.html" title="GtkWidget"><span class="returnvalue">GtkWidget</span></a> * gtk_app_chooser_button_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> *content_type</code></em>);</pre> -<p> -Creates a new <a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> for applications -that can handle content of the given type. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>content_type</code></em> :</span></p></td> -<td>the content type to show applications for</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>a newly created <a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 3.0</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-app-chooser-button-append-custom-item"></a><h3>gtk_app_chooser_button_append_custom_item ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_app_chooser_button_append_custom_item - (<em class="parameter"><code><a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> *self</code></em>, - <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> *name</code></em>, - <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> *label</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/gio/unstable/GIcon.html"><span class="type">GIcon</span></a> *icon</code></em>);</pre> -<p> -Appends a custom item to the list of applications that is shown -in the popup; the item name must be unique per-widget. -Clients can use the provided name as a detail for the -<a class="link" href="GtkAppChooserButton.html#GtkAppChooserButton-custom-item-activated" title='The "custom-item-activated" signal'><span class="type">"custom-item-activated"</span></a> signal, to add a -callback for the activation of a particular custom item in the list. -See also <a class="link" href="GtkAppChooserButton.html#gtk-app-chooser-button-append-separator" title="gtk_app_chooser_button_append_separator ()"><code class="function">gtk_app_chooser_button_append_separator()</code></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td> -<td>a <a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>the name of the custom item</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>label</code></em> :</span></p></td> -<td>the label for the custom item</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>icon</code></em> :</span></p></td> -<td>the icon for the custom item</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 3.0</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-app-chooser-button-append-separator"></a><h3>gtk_app_chooser_button_append_separator ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_app_chooser_button_append_separator - (<em class="parameter"><code><a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> *self</code></em>);</pre> -<p> -Appends a separator to the list of applications that is shown -in the popup. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody><tr> -<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td> -<td>a <a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> -</td> -</tr></tbody> -</table></div> -<p class="since">Since 3.0</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-app-chooser-button-set-active-custom-item"></a><h3>gtk_app_chooser_button_set_active_custom_item ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_app_chooser_button_set_active_custom_item - (<em class="parameter"><code><a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> *self</code></em>, - <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> *name</code></em>);</pre> -<p> -Selects a custom item previously added with -<a class="link" href="GtkAppChooserButton.html#gtk-app-chooser-button-append-custom-item" title="gtk_app_chooser_button_append_custom_item ()"><code class="function">gtk_app_chooser_button_append_custom_item()</code></a>. -</p> -<p> -Use <a class="link" href="GtkAppChooser.html#gtk-app-chooser-refresh" title="gtk_app_chooser_refresh ()"><code class="function">gtk_app_chooser_refresh()</code></a> to bring the selection -to its initial state. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td> -<td>a <a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>name</code></em> :</span></p></td> -<td>the name of the custom item</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 3.0</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-app-chooser-button-get-show-default-item"></a><h3>gtk_app_chooser_button_get_show_default_item ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_app_chooser_button_get_show_default_item - (<em class="parameter"><code><a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> *self</code></em>);</pre> -<p> -Returns the current value of the <a class="link" href="GtkAppChooserButton.html#GtkAppChooserButton--show-default-item" title='The "show-default-item" property'><span class="type">"show-default-item"</span></a> -property. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td> -<td>a <a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the value of <a class="link" href="GtkAppChooserButton.html#GtkAppChooserButton--show-default-item" title='The "show-default-item" property'><span class="type">"show-default-item"</span></a> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 3.2</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-app-chooser-button-set-show-default-item"></a><h3>gtk_app_chooser_button_set_show_default_item ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_app_chooser_button_set_show_default_item - (<em class="parameter"><code><a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> *self</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> setting</code></em>);</pre> -<p> -Sets whether the dropdown menu of this button should show the -default application for the given content type at top. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td> -<td>a <a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>setting</code></em> :</span></p></td> -<td>the new value for <a class="link" href="GtkAppChooserButton.html#GtkAppChooserButton--show-default-item" title='The "show-default-item" property'><span class="type">"show-default-item"</span></a> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 3.2</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-app-chooser-button-get-show-dialog-item"></a><h3>gtk_app_chooser_button_get_show_dialog_item ()</h3> -<pre class="programlisting"><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="returnvalue">gboolean</span></a> gtk_app_chooser_button_get_show_dialog_item - (<em class="parameter"><code><a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> *self</code></em>);</pre> -<p> -Returns the current value of the <a class="link" href="GtkAppChooserButton.html#GtkAppChooserButton--show-dialog-item" title='The "show-dialog-item" property'><span class="type">"show-dialog-item"</span></a> -property. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td> -<td>a <a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the value of <a class="link" href="GtkAppChooserButton.html#GtkAppChooserButton--show-dialog-item" title='The "show-dialog-item" property'><span class="type">"show-dialog-item"</span></a> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 3.0</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-app-chooser-button-set-show-dialog-item"></a><h3>gtk_app_chooser_button_set_show_dialog_item ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_app_chooser_button_set_show_dialog_item - (<em class="parameter"><code><a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> *self</code></em>, - <em class="parameter"><code><a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> setting</code></em>);</pre> -<p> -Sets whether the dropdown menu of this button should show an -entry to trigger a <a class="link" href="GtkAppChooserDialog.html" title="GtkAppChooserDialog"><span class="type">GtkAppChooserDialog</span></a>. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td> -<td>a <a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>setting</code></em> :</span></p></td> -<td>the new value for <a class="link" href="GtkAppChooserButton.html#GtkAppChooserButton--show-dialog-item" title='The "show-dialog-item" property'><span class="type">"show-dialog-item"</span></a> -</td> -</tr> -</tbody> -</table></div> -<p class="since">Since 3.0</p> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-app-chooser-button-get-heading"></a><h3>gtk_app_chooser_button_get_heading ()</h3> -<pre class="programlisting">const <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="returnvalue">gchar</span></a> * gtk_app_chooser_button_get_heading (<em class="parameter"><code><a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> *self</code></em>);</pre> -<p> -Returns the text to display at the top of the dialog. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td> -<td>a <a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td> -<td>the text to display at the top of the dialog, -or <a href="http://library.gnome.org/devel/glib/unstable/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, in which case a default text is displayed</td> -</tr> -</tbody> -</table></div> -</div> -<hr> -<div class="refsect2"> -<a name="gtk-app-chooser-button-set-heading"></a><h3>gtk_app_chooser_button_set_heading ()</h3> -<pre class="programlisting"><span class="returnvalue">void</span> gtk_app_chooser_button_set_heading (<em class="parameter"><code><a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> *self</code></em>, - <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> *heading</code></em>);</pre> -<p> -Sets the text to display at the top of the dialog. -If the heading is not set, the dialog displays a default text. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td> -<td>a <a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> -</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>heading</code></em> :</span></p></td> -<td>a string containing Pango markup</td> -</tr> -</tbody> -</table></div> -</div> -</div> -<div class="refsect1"> -<a name="GtkAppChooserButton.property-details"></a><h2>Property Details</h2> -<div class="refsect2"> -<a name="GtkAppChooserButton--heading"></a><h3>The <code class="literal">"heading"</code> property</h3> -<pre class="programlisting"> "heading" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a>* : Read / Write</pre> -<p> -The text to show at the top of the dialog that can be -opened from the button. The string may contain Pango markup. -</p> -<p>Default value: NULL</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkAppChooserButton--show-default-item"></a><h3>The <code class="literal">"show-default-item"</code> property</h3> -<pre class="programlisting"> "show-default-item" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct</pre> -<p> -The <a class="link" href="GtkAppChooserButton.html#GtkAppChooserButton--show-default-item" title='The "show-default-item" property'><span class="type">"show-default-item"</span></a> property determines -whether the dropdown menu should show the default application -on top for the provided content type. -</p> -<p>Default value: FALSE</p> -<p class="since">Since 3.2</p> -</div> -<hr> -<div class="refsect2"> -<a name="GtkAppChooserButton--show-dialog-item"></a><h3>The <code class="literal">"show-dialog-item"</code> property</h3> -<pre class="programlisting"> "show-dialog-item" <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a> : Read / Write / Construct</pre> -<p> -The <a class="link" href="GtkAppChooserButton.html#GtkAppChooserButton--show-dialog-item" title='The "show-dialog-item" property'><span class="type">"show-dialog-item"</span></a> property determines -whether the dropdown menu should show an item that triggers -a <a class="link" href="GtkAppChooserDialog.html" title="GtkAppChooserDialog"><span class="type">GtkAppChooserDialog</span></a> when clicked. -</p> -<p>Default value: FALSE</p> -</div> -</div> -<div class="refsect1"> -<a name="GtkAppChooserButton.signal-details"></a><h2>Signal Details</h2> -<div class="refsect2"> -<a name="GtkAppChooserButton-custom-item-activated"></a><h3>The <code class="literal">"custom-item-activated"</code> signal</h3> -<pre class="programlisting"><span class="returnvalue">void</span> user_function (<a class="link" href="GtkAppChooserButton.html" title="GtkAppChooserButton"><span class="type">GtkAppChooserButton</span></a> *self, - <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *item_name, - <a href="http://library.gnome.org/devel/glib/unstable/glib-Basic-Types.html#gpointer"><span class="type">gpointer</span></a> user_data) : <a href="http://library.gnome.org/devel/gobject/unstable/gobject-Signals.html#G-SIGNAL-DETAILED:CAPS"><code class="literal">Has Details</code></a></pre> -<p> -Emitted when a custom item, previously added with -<a class="link" href="GtkAppChooserButton.html#gtk-app-chooser-button-append-custom-item" title="gtk_app_chooser_button_append_custom_item ()"><code class="function">gtk_app_chooser_button_append_custom_item()</code></a>, is activated from the -dropdown menu. -</p> -<div class="variablelist"><table border="0"> -<col align="left" valign="top"> -<tbody> -<tr> -<td><p><span class="term"><em class="parameter"><code>self</code></em> :</span></p></td> -<td>the object which received the signal</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>item_name</code></em> :</span></p></td> -<td>the name of the activated item</td> -</tr> -<tr> -<td><p><span class="term"><em class="parameter"><code>user_data</code></em> :</span></p></td> -<td>user data set when the signal handler was connected.</td> -</tr> -</tbody> -</table></div> -</div> -</div> -</div> -<div class="footer"> -<hr> - Generated by GTK-Doc V1.18.1</div> -</body> -</html>
\ No newline at end of file |