New upstream version 3.24.28
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
<link rel="up" href="NumericEntry.html" title="Numeric and Text Data Entry">
|
||||
<link rel="prev" href="GtkEntryCompletion.html" title="GtkEntryCompletion">
|
||||
<link rel="next" href="GtkSpinButton.html" title="GtkSpinButton">
|
||||
<meta name="generator" content="GTK-Doc V1.33.0 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.33.1 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -126,7 +126,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a href="https://developer.gnome.org/pango/pango-Layout-Objects.html#PangoLayout-struct"><span class="returnvalue">PangoLayout</span></a> *
|
||||
<span class="returnvalue">PangoLayout</span> *
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkScale.html#gtk-scale-get-layout" title="gtk_scale_get_layout ()">gtk_scale_get_layout</a> <span class="c_punctuation">()</span>
|
||||
@ -697,9 +697,9 @@ gtk_scale_get_value_pos (<em class="parameter"><code><a class="link" href="GtkSc
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-scale-get-layout"></a><h3>gtk_scale_get_layout ()</h3>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/pango/pango-Layout-Objects.html#PangoLayout-struct"><span class="returnvalue">PangoLayout</span></a> *
|
||||
<pre class="programlisting"><span class="returnvalue">PangoLayout</span> *
|
||||
gtk_scale_get_layout (<em class="parameter"><code><a class="link" href="GtkScale.html" title="GtkScale"><span class="type">GtkScale</span></a> *scale</code></em>);</pre>
|
||||
<p>Gets the <a href="https://developer.gnome.org/pango/pango-Layout-Objects.html#PangoLayout-struct"><span class="type">PangoLayout</span></a> used to display the scale. The returned
|
||||
<p>Gets the <span class="type">PangoLayout</span> used to display the scale. The returned
|
||||
object is owned by the scale so does not need to be freed by
|
||||
the caller.</p>
|
||||
<div class="refsect3">
|
||||
@ -719,9 +719,9 @@ the caller.</p>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-scale-get-layout.returns"></a><h4>Returns</h4>
|
||||
<p>the <a href="https://developer.gnome.org/pango/pango-Layout-Objects.html#PangoLayout-struct"><span class="type">PangoLayout</span></a> for this scale,
|
||||
<p>the <span class="type">PangoLayout</span> for this scale,
|
||||
or <code class="literal">NULL</code> if the <a class="link" href="GtkScale.html#GtkScale--draw-value" title="The “draw-value” property"><span class="type">“draw-value”</span></a> property is <code class="literal">FALSE</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>][<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>
|
||||
<p><span class="annotation">[<acronym title="The data is owned by the callee, which is responsible of freeing it."><span class="acronym">transfer none</span></acronym>][<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: 2.4</p>
|
||||
</div>
|
||||
@ -733,9 +733,9 @@ gtk_scale_get_layout_offsets (<em class="parameter"><code><a class="link" href="
|
||||
<em class="parameter"><code><span class="type">gint</span> *x</code></em>,
|
||||
<em class="parameter"><code><span class="type">gint</span> *y</code></em>);</pre>
|
||||
<p>Obtains the coordinates where the scale will draw the
|
||||
<a href="https://developer.gnome.org/pango/pango-Layout-Objects.html#PangoLayout-struct"><span class="type">PangoLayout</span></a> representing the text in the scale. Remember
|
||||
when using the <a href="https://developer.gnome.org/pango/pango-Layout-Objects.html#PangoLayout-struct"><span class="type">PangoLayout</span></a> function you need to convert to
|
||||
and from pixels using <a href="https://developer.gnome.org/pango/pango-Glyph-Storage.html#PANGO-PIXELS:CAPS"><code class="function">PANGO_PIXELS()</code></a> or <a href="https://developer.gnome.org/pango/pango-Glyph-Storage.html#PANGO-SCALE:CAPS"><span class="type">PANGO_SCALE</span></a>. </p>
|
||||
<span class="type">PangoLayout</span> representing the text in the scale. Remember
|
||||
when using the <span class="type">PangoLayout</span> function you need to convert to
|
||||
and from pixels using <code class="function">PANGO_PIXELS()</code> or <span class="type">PANGO_SCALE</span>. </p>
|
||||
<p>If the <a class="link" href="GtkScale.html#GtkScale--draw-value" title="The “draw-value” property"><span class="type">“draw-value”</span></a> property is <code class="literal">FALSE</code>, the return
|
||||
values are undefined.</p>
|
||||
<div class="refsect3">
|
||||
@ -952,10 +952,10 @@ with "-->1.0<--".</p>
|
||||
6
|
||||
7</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="k">static</span> <span class="n">gchar</span><span class="o">*</span>
|
||||
<span class="nf">format_value_callback</span> <span class="p">(</span><span class="n">GtkScale</span> <span class="o">*</span><span class="n">scale</span><span class="p">,</span>
|
||||
<span class="n">format_value_callback</span> <span class="p">(</span><span class="n">GtkScale</span> <span class="o">*</span><span class="n">scale</span><span class="p">,</span>
|
||||
<span class="n">gdouble</span> <span class="n">value</span><span class="p">)</span>
|
||||
<span class="p">{</span>
|
||||
<span class="k">return</span> <span class="n">g_strdup_printf</span> <span class="p">(</span><span class="s">"-->\%0.*g<--"</span><span class="p">,</span>
|
||||
<span class="k">return</span> <span class="nf">g_strdup_printf</span> <span class="p">(</span><span class="s">"-->\%0.*g<--"</span><span class="p">,</span>
|
||||
<span class="n">gtk_scale_get_digits</span> <span class="p">(</span><span class="n">scale</span><span class="p">),</span> <span class="n">value</span><span class="p">);</span>
|
||||
<span class="p">}</span></pre></td>
|
||||
</tr>
|
||||
@ -1001,6 +1001,6 @@ with "-->1.0<--".</p>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.33.0</div>
|
||||
<hr>Generated by GTK-Doc V1.33.1</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user