New upstream version 3.22.28
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
<link rel="up" href="DeprecatedObjects.html" title="Deprecated">
|
||||
<link rel="prev" href="gtk3-Themeable-Stock-Images.html" title="Themeable Stock Images">
|
||||
<link rel="next" href="GtkArrow.html" title="GtkArrow">
|
||||
<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">
|
||||
@ -44,7 +44,7 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../gio/GIcon.html#GIcon-struct"><span class="returnvalue">GIcon</span></a> *
|
||||
<span class="returnvalue">GIcon</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkNumerableIcon.html#gtk-numerable-icon-new" title="gtk_numerable_icon_new ()">gtk_numerable_icon_new</a> <span class="c_punctuation">()</span>
|
||||
@ -52,7 +52,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../gio/GIcon.html#GIcon-struct"><span class="returnvalue">GIcon</span></a> *
|
||||
<span class="returnvalue">GIcon</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkNumerableIcon.html#gtk-numerable-icon-new-with-style-context" title="gtk_numerable_icon_new_with_style_context ()">gtk_numerable_icon_new_with_style_context</a> <span class="c_punctuation">()</span>
|
||||
@ -60,7 +60,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="../gio/GIcon.html#GIcon-struct"><span class="returnvalue">GIcon</span></a> *
|
||||
<span class="returnvalue">GIcon</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkNumerableIcon.html#gtk-numerable-icon-get-background-gicon" title="gtk_numerable_icon_get_background_gicon ()">gtk_numerable_icon_get_background_gicon</a> <span class="c_punctuation">()</span>
|
||||
@ -75,7 +75,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="GtkNumerableIcon.html#gtk-numerable-icon-get-background-icon-name" title="gtk_numerable_icon_get_background_icon_name ()">gtk_numerable_icon_get_background_icon_name</a> <span class="c_punctuation">()</span>
|
||||
@ -91,7 +91,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="GtkNumerableIcon.html#gtk-numerable-icon-get-count" title="gtk_numerable_icon_get_count ()">gtk_numerable_icon_get_count</a> <span class="c_punctuation">()</span>
|
||||
@ -106,7 +106,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="GtkNumerableIcon.html#gtk-numerable-icon-get-label" title="gtk_numerable_icon_get_label ()">gtk_numerable_icon_get_label</a> <span class="c_punctuation">()</span>
|
||||
@ -150,24 +150,24 @@
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="property_type">
|
||||
<a href="../gio/GIcon.html#GIcon-struct"><span class="type">GIcon</span></a> *</td>
|
||||
<span class="type">GIcon</span> *</td>
|
||||
<td class="property_name"><a class="link" href="GtkNumerableIcon.html#GtkNumerableIcon--background-icon" title="The “background-icon” property">background-icon</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</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="GtkNumerableIcon.html#GtkNumerableIcon--background-icon-name" title="The “background-icon-name” property">background-icon-name</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="GtkNumerableIcon.html#GtkNumerableIcon--count" title="The “count” property">count</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</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="GtkNumerableIcon.html#GtkNumerableIcon--label" title="The “label” property">label</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -195,8 +195,8 @@
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkNumerableIcon.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="../gio/GEmblemedIcon.html#GEmblemedIcon-struct">GEmblemedIcon</a>
|
||||
<pre class="screen"> GObject
|
||||
<span class="lineart">╰──</span> GEmblemedIcon
|
||||
<span class="lineart">╰──</span> GtkNumerableIcon
|
||||
</pre>
|
||||
</div>
|
||||
@ -204,7 +204,7 @@
|
||||
<a name="GtkNumerableIcon.implemented-interfaces"></a><h2>Implemented Interfaces</h2>
|
||||
<p>
|
||||
GtkNumerableIcon implements
|
||||
<a href="../gio/GIcon.html#GIcon-struct">GIcon</a>.</p>
|
||||
GIcon.</p>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkNumerableIcon.includes"></a><h2>Includes</h2>
|
||||
@ -213,7 +213,7 @@ GtkNumerableIcon implements
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkNumerableIcon.description"></a><h2>Description</h2>
|
||||
<p>GtkNumerableIcon is a subclass of <a href="../gio/GEmblemedIcon.html#GEmblemedIcon-struct"><span class="type">GEmblemedIcon</span></a> that can
|
||||
<p>GtkNumerableIcon is a subclass of <span class="type">GEmblemedIcon</span> that can
|
||||
show a number or short string as an emblem. The number can
|
||||
be overlayed on top of another emblem, if desired.</p>
|
||||
<p>It supports theming by taking font and color information
|
||||
@ -227,8 +227,8 @@ from a provided <a class="link" href="GtkStyleContext.html" title="GtkStyleConte
|
||||
<a name="GtkNumerableIcon.functions_details"></a><h2>Functions</h2>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-numerable-icon-new"></a><h3>gtk_numerable_icon_new ()</h3>
|
||||
<pre class="programlisting"><a href="../gio/GIcon.html#GIcon-struct"><span class="returnvalue">GIcon</span></a> *
|
||||
gtk_numerable_icon_new (<em class="parameter"><code><a href="../gio/GIcon.html#GIcon-struct"><span class="type">GIcon</span></a> *base_icon</code></em>);</pre>
|
||||
<pre class="programlisting"><span class="returnvalue">GIcon</span> *
|
||||
gtk_numerable_icon_new (<em class="parameter"><code><span class="type">GIcon</span> *base_icon</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_numerable_icon_new</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||
<p>Creates a new unthemed <a class="link" href="GtkNumerableIcon.html" title="GtkNumerableIcon"><span class="type">GtkNumerableIcon</span></a>.</p>
|
||||
<div class="refsect3">
|
||||
@ -241,14 +241,14 @@ gtk_numerable_icon_new (<em class="parameter"><code><a href="../gio/GIcon.html#G
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="parameter_name"><p>base_icon</p></td>
|
||||
<td class="parameter_description"><p>a <a href="../gio/GIcon.html#GIcon-struct"><span class="type">GIcon</span></a> to overlay on</p></td>
|
||||
<td class="parameter_description"><p>a <span class="type">GIcon</span> to overlay on</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-numerable-icon-new.returns"></a><h4>Returns</h4>
|
||||
<p> a new <a href="../gio/GIcon.html#GIcon-struct"><span class="type">GIcon</span></a>. </p>
|
||||
<p>a new <span class="type">GIcon</span>. </p>
|
||||
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
@ -256,9 +256,9 @@ gtk_numerable_icon_new (<em class="parameter"><code><a href="../gio/GIcon.html#G
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-numerable-icon-new-with-style-context"></a><h3>gtk_numerable_icon_new_with_style_context ()</h3>
|
||||
<pre class="programlisting"><a href="../gio/GIcon.html#GIcon-struct"><span class="returnvalue">GIcon</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">GIcon</span> *
|
||||
gtk_numerable_icon_new_with_style_context
|
||||
(<em class="parameter"><code><a href="../gio/GIcon.html#GIcon-struct"><span class="type">GIcon</span></a> *base_icon</code></em>,
|
||||
(<em class="parameter"><code><span class="type">GIcon</span> *base_icon</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> *context</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_numerable_icon_new_with_style_context</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||
<p>Creates a new <a class="link" href="GtkNumerableIcon.html" title="GtkNumerableIcon"><span class="type">GtkNumerableIcon</span></a> which will themed according
|
||||
@ -275,7 +275,7 @@ that calls <a class="link" href="GtkNumerableIcon.html#gtk-numerable-icon-set-st
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>base_icon</p></td>
|
||||
<td class="parameter_description"><p>a <a href="../gio/GIcon.html#GIcon-struct"><span class="type">GIcon</span></a> to overlay on</p></td>
|
||||
<td class="parameter_description"><p>a <span class="type">GIcon</span> to overlay on</p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
<tr>
|
||||
@ -288,7 +288,7 @@ that calls <a class="link" href="GtkNumerableIcon.html#gtk-numerable-icon-set-st
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-numerable-icon-new-with-style-context.returns"></a><h4>Returns</h4>
|
||||
<p> a new <a href="../gio/GIcon.html#GIcon-struct"><span class="type">GIcon</span></a>. </p>
|
||||
<p>a new <span class="type">GIcon</span>. </p>
|
||||
<p><span class="annotation">[<acronym title="Free data after the code is done."><span class="acronym">transfer full</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
@ -296,13 +296,13 @@ that calls <a class="link" href="GtkNumerableIcon.html#gtk-numerable-icon-set-st
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-numerable-icon-get-background-gicon"></a><h3>gtk_numerable_icon_get_background_gicon ()</h3>
|
||||
<pre class="programlisting"><a href="../gio/GIcon.html#GIcon-struct"><span class="returnvalue">GIcon</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">GIcon</span> *
|
||||
gtk_numerable_icon_get_background_gicon
|
||||
(<em class="parameter"><code><a class="link" href="GtkNumerableIcon.html" title="GtkNumerableIcon"><span class="type">GtkNumerableIcon</span></a> *self</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_numerable_icon_get_background_gicon</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||
<p>Returns the <a href="../gio/GIcon.html#GIcon-struct"><span class="type">GIcon</span></a> that was set as the base background image, or
|
||||
<a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there’s none. The caller of this function does not own
|
||||
a reference to the returned <a href="../gio/GIcon.html#GIcon-struct"><span class="type">GIcon</span></a>.</p>
|
||||
<p>Returns the <span class="type">GIcon</span> that was set as the base background image, or
|
||||
<code class="literal">NULL</code> if there’s none. The caller of this function does not own
|
||||
a reference to the returned <span class="type">GIcon</span>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-numerable-icon-get-background-gicon.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -320,7 +320,7 @@ a reference to the returned <a href="../gio/GIcon.html#GIcon-struct"><span class
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-numerable-icon-get-background-gicon.returns"></a><h4>Returns</h4>
|
||||
<p> a <a href="../gio/GIcon.html#GIcon-struct"><span class="type">GIcon</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
<p>a <span class="type">GIcon</span>, or <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
@ -331,12 +331,12 @@ a reference to the returned <a href="../gio/GIcon.html#GIcon-struct"><span class
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_numerable_icon_set_background_gicon
|
||||
(<em class="parameter"><code><a class="link" href="GtkNumerableIcon.html" title="GtkNumerableIcon"><span class="type">GtkNumerableIcon</span></a> *self</code></em>,
|
||||
<em class="parameter"><code><a href="../gio/GIcon.html#GIcon-struct"><span class="type">GIcon</span></a> *icon</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">GIcon</span> *icon</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_numerable_icon_set_background_gicon</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||
<p>Updates the icon to use <em class="parameter"><code>icon</code></em>
|
||||
as the base background image.
|
||||
If <em class="parameter"><code>icon</code></em>
|
||||
is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, <em class="parameter"><code>self</code></em>
|
||||
is <code class="literal">NULL</code>, <em class="parameter"><code>self</code></em>
|
||||
will go back using style information
|
||||
or default theming for its background image.</p>
|
||||
<p>If this method is called and an icon name was already set as
|
||||
@ -360,7 +360,7 @@ called between <a class="link" href="GtkNumerableIcon.html#gtk-numerable-icon-se
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>icon</p></td>
|
||||
<td class="parameter_description"><p> a <a href="../gio/GIcon.html#GIcon-struct"><span class="type">GIcon</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>a <span class="type">GIcon</span>, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -371,12 +371,12 @@ called between <a class="link" href="GtkNumerableIcon.html#gtk-numerable-icon-se
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-numerable-icon-get-background-icon-name"></a><h3>gtk_numerable_icon_get_background_icon_name ()</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_numerable_icon_get_background_icon_name
|
||||
(<em class="parameter"><code><a class="link" href="GtkNumerableIcon.html" title="GtkNumerableIcon"><span class="type">GtkNumerableIcon</span></a> *self</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_numerable_icon_get_background_icon_name</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||
<p>Returns the icon name used as the base background image,
|
||||
or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there’s none.</p>
|
||||
or <code class="literal">NULL</code> if there’s none.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-numerable-icon-get-background-icon-name.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -394,7 +394,7 @@ or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">N
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-numerable-icon-get-background-icon-name.returns"></a><h4>Returns</h4>
|
||||
<p> an icon name, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p>
|
||||
<p>an icon name, or <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
@ -405,16 +405,16 @@ or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">N
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_numerable_icon_set_background_icon_name
|
||||
(<em class="parameter"><code><a class="link" href="GtkNumerableIcon.html" title="GtkNumerableIcon"><span class="type">GtkNumerableIcon</span></a> *self</code></em>,
|
||||
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *icon_name</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *icon_name</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_numerable_icon_set_background_icon_name</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||
<p>Updates the icon to use the icon named <em class="parameter"><code>icon_name</code></em>
|
||||
from the
|
||||
current icon theme as the base background image. If <em class="parameter"><code>icon_name</code></em>
|
||||
|
||||
is <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, <em class="parameter"><code>self</code></em>
|
||||
is <code class="literal">NULL</code>, <em class="parameter"><code>self</code></em>
|
||||
will go back using style information or default
|
||||
theming for its background image.</p>
|
||||
<p>If this method is called and a <a href="../gio/GIcon.html#GIcon-struct"><span class="type">GIcon</span></a> was already set as
|
||||
<p>If this method is called and a <span class="type">GIcon</span> was already set as
|
||||
background for the icon, <em class="parameter"><code>icon_name</code></em>
|
||||
will be used, i.e. the
|
||||
last method called between <a class="link" href="GtkNumerableIcon.html#gtk-numerable-icon-set-background-icon-name" title="gtk_numerable_icon_set_background_icon_name ()"><code class="function">gtk_numerable_icon_set_background_icon_name()</code></a>
|
||||
@ -435,7 +435,7 @@ and <a class="link" href="GtkNumerableIcon.html#gtk-numerable-icon-set-backgroun
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>icon_name</p></td>
|
||||
<td class="parameter_description"><p> an icon name, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>an icon name, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -446,7 +446,7 @@ and <a class="link" href="GtkNumerableIcon.html#gtk-numerable-icon-set-backgroun
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-numerable-icon-get-count"></a><h3>gtk_numerable_icon_get_count ()</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_numerable_icon_get_count (<em class="parameter"><code><a class="link" href="GtkNumerableIcon.html" title="GtkNumerableIcon"><span class="type">GtkNumerableIcon</span></a> *self</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_numerable_icon_get_count</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||
<p>Returns the value currently displayed by <em class="parameter"><code>self</code></em>
|
||||
@ -477,7 +477,7 @@ gtk_numerable_icon_get_count (<em class="parameter"><code><a class="link" href="
|
||||
<a name="gtk-numerable-icon-set-count"></a><h3>gtk_numerable_icon_set_count ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_numerable_icon_set_count (<em class="parameter"><code><a class="link" href="GtkNumerableIcon.html" title="GtkNumerableIcon"><span class="type">GtkNumerableIcon</span></a> *self</code></em>,
|
||||
<em class="parameter"><code><a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a> count</code></em>);</pre>
|
||||
<em class="parameter"><code><span class="type">gint</span> count</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_numerable_icon_set_count</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||
<p>Sets the currently displayed value of <em class="parameter"><code>self</code></em>
|
||||
to <em class="parameter"><code>count</code></em>
|
||||
@ -485,7 +485,7 @@ gtk_numerable_icon_set_count (<em class="parameter"><code><a class="link" href="
|
||||
<p>The numeric value is always clamped to make it two digits, i.e.
|
||||
between -99 and 99. Setting a count of zero removes the emblem.
|
||||
If this method is called, and a label was already set on the icon,
|
||||
it will automatically be reset to <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> before rendering the number,
|
||||
it will automatically be reset to <code class="literal">NULL</code> before rendering the number,
|
||||
i.e. the last method called between <a class="link" href="GtkNumerableIcon.html#gtk-numerable-icon-set-count" title="gtk_numerable_icon_set_count ()"><code class="function">gtk_numerable_icon_set_count()</code></a>
|
||||
and <a class="link" href="GtkNumerableIcon.html#gtk-numerable-icon-set-label" title="gtk_numerable_icon_set_label ()"><code class="function">gtk_numerable_icon_set_label()</code></a> has always priority.</p>
|
||||
<div class="refsect3">
|
||||
@ -515,10 +515,10 @@ and <a class="link" href="GtkNumerableIcon.html#gtk-numerable-icon-set-label" ti
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-numerable-icon-get-label"></a><h3>gtk_numerable_icon_get_label ()</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_numerable_icon_get_label (<em class="parameter"><code><a class="link" href="GtkNumerableIcon.html" title="GtkNumerableIcon"><span class="type">GtkNumerableIcon</span></a> *self</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_numerable_icon_get_label</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||
<p>Returns the currently displayed label of the icon, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.</p>
|
||||
<p>Returns the currently displayed label of the icon, or <code class="literal">NULL</code>.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-numerable-icon-get-label.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -536,7 +536,7 @@ gtk_numerable_icon_get_label (<em class="parameter"><code><a class="link" href="
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-numerable-icon-get-label.returns"></a><h4>Returns</h4>
|
||||
<p> the currently displayed label. </p>
|
||||
<p>the currently displayed label. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
@ -546,7 +546,7 @@ gtk_numerable_icon_get_label (<em class="parameter"><code><a class="link" href="
|
||||
<a name="gtk-numerable-icon-set-label"></a><h3>gtk_numerable_icon_set_label ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_numerable_icon_set_label (<em class="parameter"><code><a class="link" href="GtkNumerableIcon.html" title="GtkNumerableIcon"><span class="type">GtkNumerableIcon</span></a> *self</code></em>,
|
||||
<em class="parameter"><code>const <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *label</code></em>);</pre>
|
||||
<em class="parameter"><code>const <span class="type">gchar</span> *label</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_numerable_icon_set_label</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||
<p>Sets the currently displayed value of <em class="parameter"><code>self</code></em>
|
||||
to the string
|
||||
@ -577,7 +577,7 @@ has always priority.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>label</p></td>
|
||||
<td class="parameter_description"><p> a short label, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. </p></td>
|
||||
<td class="parameter_description"><p>a short label, or <code class="literal">NULL</code>. </p></td>
|
||||
<td class="parameter_annotations"><span class="annotation">[<acronym title="NULL is OK, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -592,7 +592,7 @@ has always priority.</p>
|
||||
gtk_numerable_icon_get_style_context (<em class="parameter"><code><a class="link" href="GtkNumerableIcon.html" title="GtkNumerableIcon"><span class="type">GtkNumerableIcon</span></a> *self</code></em>);</pre>
|
||||
<div class="warning"><p><code class="literal">gtk_numerable_icon_get_style_context</code> has been deprecated since version 3.14 and should not be used in newly-written code.</p></div>
|
||||
<p>Returns the <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a> used by the icon for theming,
|
||||
or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if there’s none.</p>
|
||||
or <code class="literal">NULL</code> if there’s none.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-numerable-icon-get-style-context.parameters"></a><h4>Parameters</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
@ -610,9 +610,9 @@ or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">N
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-numerable-icon-get-style-context.returns"></a><h4>Returns</h4>
|
||||
<p> a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a>, or <a href="../glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>.
|
||||
<p>a <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span class="type">GtkStyleContext</span></a>, or <code class="literal">NULL</code>.
|
||||
This object is internal to GTK+ and should not be unreffed.
|
||||
Use <a href="../gobject/gobject-The-Base-Object-Type.html#g-object-ref"><code class="function">g_object_ref()</code></a> if you want to keep it around. </p>
|
||||
Use <code class="function">g_object_ref()</code> if you want to keep it around. </p>
|
||||
<p><span class="annotation">[<acronym title="NULL may be passed as the value in, out, in-out; or as a return value."><span class="acronym">nullable</span></acronym>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
</div>
|
||||
<p class="since">Since: <a class="link" href="api-index-3-0.html#api-index-3.0">3.0</a></p>
|
||||
@ -662,14 +662,14 @@ given <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span
|
||||
<a name="GtkNumerableIcon.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkNumerableIcon--background-icon"></a><h3>The <code class="literal">“background-icon”</code> property</h3>
|
||||
<pre class="programlisting"> “background-icon” <a href="../gio/GIcon.html#GIcon-struct"><span class="type">GIcon</span></a> *</pre>
|
||||
<pre class="programlisting"> “background-icon” <span class="type">GIcon</span> *</pre>
|
||||
<p>The icon for the number emblem background.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkNumerableIcon--background-icon-name"></a><h3>The <code class="literal">“background-icon-name”</code> property</h3>
|
||||
<pre class="programlisting"> “background-icon-name” <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<pre class="programlisting"> “background-icon-name” <span class="type">gchar</span> *</pre>
|
||||
<p>The icon name for the number emblem background.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: NULL</p>
|
||||
@ -677,7 +677,7 @@ given <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkNumerableIcon--count"></a><h3>The <code class="literal">“count”</code> property</h3>
|
||||
<pre class="programlisting"> “count” <a href="../glib/glib-Basic-Types.html#gint"><span class="type">gint</span></a></pre>
|
||||
<pre class="programlisting"> “count” <span class="type">gint</span></pre>
|
||||
<p>The count of the emblem currently displayed.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: [-99,99]</p>
|
||||
@ -686,7 +686,7 @@ given <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkNumerableIcon--label"></a><h3>The <code class="literal">“label”</code> property</h3>
|
||||
<pre class="programlisting"> “label” <a href="../glib/glib-Basic-Types.html#gchar"><span class="type">gchar</span></a> *</pre>
|
||||
<pre class="programlisting"> “label” <span class="type">gchar</span> *</pre>
|
||||
<p>The label to be displayed over the icon.</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: NULL</p>
|
||||
@ -701,6 +701,6 @@ given <a class="link" href="GtkStyleContext.html" title="GtkStyleContext"><span
|
||||
</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