New upstream version 3.24.0
This commit is contained in:
@ -61,34 +61,34 @@
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkModelButton.html#GtkModelButton--active" title="The “active” property">active</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkModelButton.html#GtkModelButton--centered" title="The “centered” property">centered</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<span class="type">GIcon</span> *</td>
|
||||
<a href="https://developer.gnome.org/gio/unstable/GIcon.html#GIcon-struct"><span class="type">GIcon</span></a> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkModelButton.html#GtkModelButton--icon" title="The “icon” property">icon</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkModelButton.html#GtkModelButton--iconic" title="The “iconic” property">iconic</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkModelButton.html#GtkModelButton--inverted" title="The “inverted” property">inverted</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</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="GtkModelButton.html#GtkModelButton--menu-name" title="The “menu-name” property">menu-name</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -99,12 +99,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="GtkModelButton.html#GtkModelButton--text" title="The “text” property">text</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><span class="type">gboolean</span></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkModelButton.html#GtkModelButton--use-markup" title="The “use-markup” property">use-markup</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -132,8 +132,8 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkModelButton.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="GtkBin.html" title="GtkBin">GtkBin</a>
|
||||
@ -154,9 +154,9 @@ GtkModelButton implements
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkModelButton.description"></a><h2>Description</h2>
|
||||
<p>GtkModelButton is a button class that can use a <span class="type">GAction</span> as its model.
|
||||
<p>GtkModelButton is a button class that can use a <a href="https://developer.gnome.org/gio/unstable/GAction.html#GAction-struct"><span class="type">GAction</span></a> as its model.
|
||||
In contrast to <a class="link" href="GtkToggleButton.html" title="GtkToggleButton"><span class="type">GtkToggleButton</span></a> or <a class="link" href="GtkRadioButton.html" title="GtkRadioButton"><span class="type">GtkRadioButton</span></a>, which can also
|
||||
be backed by a <span class="type">GAction</span> via the <a class="link" href="GtkActionable.html#GtkActionable--action-name" title="The “action-name” property"><span class="type">“action-name”</span></a> property,
|
||||
be backed by a <a href="https://developer.gnome.org/gio/unstable/GAction.html#GAction-struct"><span class="type">GAction</span></a> via the <a class="link" href="GtkActionable.html#GtkActionable--action-name" title="The “action-name” property"><span class="type">“action-name”</span></a> property,
|
||||
GtkModelButton will adapt its appearance according to the kind of
|
||||
action it is backed by, and appear either as a plain, check or
|
||||
radio button.</p>
|
||||
@ -388,9 +388,9 @@ gtk_model_button_new (<em class="parameter"><code><span class="type">void</span>
|
||||
<a name="GtkModelButton.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkModelButton--active"></a><h3>The <code class="literal">“active”</code> property</h3>
|
||||
<pre class="programlisting"> “active” <span class="type">gboolean</span></pre>
|
||||
<pre class="programlisting"> “active” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<p>The state of the button. This is reflecting the state of the associated
|
||||
<span class="type">GAction</span>.</p>
|
||||
<a href="https://developer.gnome.org/gio/unstable/GAction.html#GAction-struct"><span class="type">GAction</span></a>.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: FALSE</p>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
||||
@ -398,7 +398,7 @@ gtk_model_button_new (<em class="parameter"><code><span class="type">void</span>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkModelButton--centered"></a><h3>The <code class="literal">“centered”</code> property</h3>
|
||||
<pre class="programlisting"> “centered” <span class="type">gboolean</span></pre>
|
||||
<pre class="programlisting"> “centered” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<p>Whether to render the button contents centered instead of left-aligned.
|
||||
This property should be set for title-like items.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
@ -408,8 +408,8 @@ This property should be set for title-like items.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkModelButton--icon"></a><h3>The <code class="literal">“icon”</code> property</h3>
|
||||
<pre class="programlisting"> “icon” <span class="type">GIcon</span> *</pre>
|
||||
<p>A <span class="type">GIcon</span> that will be used if iconic appearance for the button is
|
||||
<pre class="programlisting"> “icon” <a href="https://developer.gnome.org/gio/unstable/GIcon.html#GIcon-struct"><span class="type">GIcon</span></a> *</pre>
|
||||
<p>A <a href="https://developer.gnome.org/gio/unstable/GIcon.html#GIcon-struct"><span class="type">GIcon</span></a> that will be used if iconic appearance for the button is
|
||||
desired.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-16.html#api-index-3.16">3.16</a></p>
|
||||
@ -417,7 +417,7 @@ desired.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkModelButton--iconic"></a><h3>The <code class="literal">“iconic”</code> property</h3>
|
||||
<pre class="programlisting"> “iconic” <span class="type">gboolean</span></pre>
|
||||
<pre class="programlisting"> “iconic” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<p>If this property is set, the button will show an icon if one is set.
|
||||
If no icon is set, the text will be used. This is typically used for
|
||||
horizontal sections of linked buttons.</p>
|
||||
@ -428,7 +428,7 @@ horizontal sections of linked buttons.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkModelButton--inverted"></a><h3>The <code class="literal">“inverted”</code> property</h3>
|
||||
<pre class="programlisting"> “inverted” <span class="type">gboolean</span></pre>
|
||||
<pre class="programlisting"> “inverted” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<p>Whether to show the submenu indicator at the opposite side than normal.
|
||||
This property should be set for model buttons that 'go back' to a parent
|
||||
menu.</p>
|
||||
@ -439,7 +439,7 @@ menu.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkModelButton--menu-name"></a><h3>The <code class="literal">“menu-name”</code> property</h3>
|
||||
<pre class="programlisting"> “menu-name” <span class="type">gchar</span> *</pre>
|
||||
<pre class="programlisting"> “menu-name” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<p>The name of a submenu to open when the button is activated.
|
||||
If this is set, the button should not have an action associated with it.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
@ -460,7 +460,7 @@ from the action and does not have to be set explicitly.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkModelButton--text"></a><h3>The <code class="literal">“text”</code> property</h3>
|
||||
<pre class="programlisting"> “text” <span class="type">gchar</span> *</pre>
|
||||
<pre class="programlisting"> “text” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<p>The label for the button.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: ""</p>
|
||||
@ -469,9 +469,9 @@ from the action and does not have to be set explicitly.</p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkModelButton--use-markup"></a><h3>The <code class="literal">“use-markup”</code> property</h3>
|
||||
<pre class="programlisting"> “use-markup” <span class="type">gboolean</span></pre>
|
||||
<p>If <code class="literal">TRUE</code>, XML tags in the text of the button are interpreted as by
|
||||
<code class="function">pango_parse_markup()</code> to format the enclosed spans of text. If <code class="literal">FALSE</code>, the
|
||||
<pre class="programlisting"> “use-markup” <a href="https://developer.gnome.org/glib/unstable/glib-Basic-Types.html#gboolean"><span class="type">gboolean</span></a></pre>
|
||||
<p>If <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#TRUE:CAPS"><code class="literal">TRUE</code></a>, XML tags in the text of the button are interpreted as by
|
||||
<a href="/usr/share/gtk-doc/html/pango/pango-Text-Attributes.html#pango-parse-markup"><code class="function">pango_parse_markup()</code></a> to format the enclosed spans of text. If <a href="https://developer.gnome.org/glib/unstable/glib-Standard-Macros.html#FALSE:CAPS"><code class="literal">FALSE</code></a>, the
|
||||
text will be displayed verbatim.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: FALSE</p>
|
||||
|
Reference in New Issue
Block a user