New upstream version 3.24.14
This commit is contained in:
@ -8,7 +8,7 @@
|
||||
<link rel="up" href="Ornaments.html" title="Ornaments">
|
||||
<link rel="prev" href="Ornaments.html" title="Ornaments">
|
||||
<link rel="next" href="GtkSeparator.html" title="GtkSeparator">
|
||||
<meta name="generator" content="GTK-Doc V1.29 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.32.1 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -38,8 +38,8 @@
|
||||
<a name="GtkFrame.functions"></a><h2>Functions</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="functions_return">
|
||||
<col class="functions_name">
|
||||
<col width="150px" class="functions_proto_type">
|
||||
<col class="functions_proto_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
@ -107,7 +107,7 @@
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="function_type">
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType"><span class="returnvalue">GtkShadowType</span></a>
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkShadowType"><span class="returnvalue">GtkShadowType</span></a>
|
||||
</td>
|
||||
<td class="function_name">
|
||||
<a class="link" href="GtkFrame.html#gtk-frame-get-shadow-type" title="gtk_frame_get_shadow_type ()">gtk_frame_get_shadow_type</a> <span class="c_punctuation">()</span>
|
||||
@ -148,7 +148,7 @@
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="property_type"><a class="link" href="gtk3-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType"><span class="type">GtkShadowType</span></a></td>
|
||||
<td class="property_type"><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkShadowType"><span class="type">GtkShadowType</span></a></td>
|
||||
<td class="property_name"><a class="link" href="GtkFrame.html#GtkFrame--shadow-type" title="The “shadow-type” property">shadow-type</a></td>
|
||||
<td class="property_flags">Read / Write</td>
|
||||
</tr>
|
||||
@ -159,17 +159,17 @@
|
||||
<a name="GtkFrame.other"></a><h2>Types and Values</h2>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="150px" class="name">
|
||||
<col class="description">
|
||||
<col width="150px" class="other_proto_type">
|
||||
<col class="other_proto_name">
|
||||
</colgroup>
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="GtkFrame.html#GtkFrame-struct" title="struct GtkFrame">GtkFrame</a></td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkFrame.html#GtkFrame-struct">GtkFrame</a></td>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="datatype_keyword">struct</td>
|
||||
<td class="function_name"><a class="link" href="GtkFrame.html#GtkFrameClass" title="struct GtkFrameClass">GtkFrameClass</a></td>
|
||||
<td class="function_name"><a href="https://developer.gnome.org/gtk4/GtkFrame.html#GtkFrameClass">GtkFrameClass</a></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table></div>
|
||||
@ -221,14 +221,14 @@ be specified without specifying a <child> type attribute.</p>
|
||||
6
|
||||
7
|
||||
8</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="symbol"><</span><span class="usertype">object</span><span class="normal"> class</span><span class="symbol">=</span><span class="string">"GtkFrame"</span><span class="symbol">></span>
|
||||
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">child</span><span class="normal"> type</span><span class="symbol">=</span><span class="string">"label"</span><span class="symbol">></span>
|
||||
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">object</span><span class="normal"> class</span><span class="symbol">=</span><span class="string">"GtkLabel"</span><span class="normal"> id</span><span class="symbol">=</span><span class="string">"frame-label"</span><span class="symbol">/></span>
|
||||
<span class="normal"> </span><span class="symbol"></</span><span class="normal">child</span><span class="symbol">></span>
|
||||
<span class="normal"> </span><span class="symbol"><</span><span class="normal">child</span><span class="symbol">></span>
|
||||
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">object</span><span class="normal"> class</span><span class="symbol">=</span><span class="string">"GtkEntry"</span><span class="normal"> id</span><span class="symbol">=</span><span class="string">"frame-content"</span><span class="symbol">/></span>
|
||||
<span class="normal"> </span><span class="symbol"></</span><span class="normal">child</span><span class="symbol">></span>
|
||||
<span class="symbol"></</span><span class="normal">object</span><span class="symbol">></span></pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="o"><</span><span class="n">object</span> <span class="n">class</span><span class="o">=</span><span class="s">"GtkFrame"</span><span class="o">></span>
|
||||
<span class="o"><</span><span class="n">child</span> <span class="n">type</span><span class="o">=</span><span class="s">"label"</span><span class="o">></span>
|
||||
<span class="o"><</span><span class="n">object</span> <span class="n">class</span><span class="o">=</span><span class="s">"GtkLabel"</span> <span class="n">id</span><span class="o">=</span><span class="s">"frame-label"</span><span class="o">/></span>
|
||||
<span class="o"></</span><span class="n">child</span><span class="o">></span>
|
||||
<span class="o"><</span><span class="n">child</span><span class="o">></span>
|
||||
<span class="o"><</span><span class="n">object</span> <span class="n">class</span><span class="o">=</span><span class="s">"GtkEntry"</span> <span class="n">id</span><span class="o">=</span><span class="s">"frame-content"</span><span class="o">/></span>
|
||||
<span class="o"></</span><span class="n">child</span><span class="o">></span>
|
||||
<span class="o"></</span><span class="n">object</span><span class="o">></span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -247,10 +247,10 @@ be specified without specifying a <child> type attribute.</p>
|
||||
2
|
||||
3
|
||||
4</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="normal">frame </span>
|
||||
<span class="normal">├── border</span><span class="symbol">[.</span><span class="normal">flat</span><span class="symbol">]</span>
|
||||
<span class="normal">├── </span><span class="symbol"><</span><span class="usertype">label</span><span class="normal"> widget</span><span class="symbol">></span>
|
||||
<span class="normal">╰── </span><span class="symbol"><</span><span class="normal">child</span><span class="symbol">></span></pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="n">frame</span>
|
||||
<span class="err">├──</span> <span class="n">border</span><span class="p">[.</span><span class="n">flat</span><span class="p">]</span>
|
||||
<span class="err">├──</span> <span class="o"><</span><span class="n">label</span> <span class="n">widget</span><span class="o">></span>
|
||||
<span class="err">╰──</span> <span class="o"><</span><span class="n">child</span><span class="o">></span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
@ -262,7 +262,7 @@ be specified without specifying a <child> type attribute.</p>
|
||||
of the border using CSS properties like “border-style” on the “border” node.</p>
|
||||
<p>The border node can be given the style class “.flat”, which is used by themes
|
||||
to disable drawing of the border. To do this from code, call
|
||||
<a class="link" href="GtkFrame.html#gtk-frame-set-shadow-type" title="gtk_frame_set_shadow_type ()"><code class="function">gtk_frame_set_shadow_type()</code></a> with <a class="link" href="gtk3-Standard-Enumerations.html#GTK-SHADOW-NONE:CAPS"><code class="literal">GTK_SHADOW_NONE</code></a> to add the “.flat” class or
|
||||
<a class="link" href="GtkFrame.html#gtk-frame-set-shadow-type" title="gtk_frame_set_shadow_type ()"><code class="function">gtk_frame_set_shadow_type()</code></a> with <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-SHADOW-NONE:CAPS"><code class="literal">GTK_SHADOW_NONE</code></a> to add the “.flat” class or
|
||||
any other shadow type to remove it.</p>
|
||||
</div>
|
||||
</div>
|
||||
@ -406,11 +406,11 @@ will be completely above or below the frame.</p></td>
|
||||
<a name="gtk-frame-set-shadow-type"></a><h3>gtk_frame_set_shadow_type ()</h3>
|
||||
<pre class="programlisting"><span class="returnvalue">void</span>
|
||||
gtk_frame_set_shadow_type (<em class="parameter"><code><a class="link" href="GtkFrame.html" title="GtkFrame"><span class="type">GtkFrame</span></a> *frame</code></em>,
|
||||
<em class="parameter"><code><a class="link" href="gtk3-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType"><span class="type">GtkShadowType</span></a> type</code></em>);</pre>
|
||||
<em class="parameter"><code><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkShadowType"><span class="type">GtkShadowType</span></a> type</code></em>);</pre>
|
||||
<p>Sets the <a class="link" href="GtkFrame.html#GtkFrame--shadow-type" title="The “shadow-type” property"><span class="type">“shadow-type”</span></a> for <em class="parameter"><code>frame</code></em>
|
||||
, i.e. whether it is drawn without
|
||||
(<a class="link" href="gtk3-Standard-Enumerations.html#GTK-SHADOW-NONE:CAPS"><code class="literal">GTK_SHADOW_NONE</code></a>) or with (other values) a visible border. Values other than
|
||||
<a class="link" href="gtk3-Standard-Enumerations.html#GTK-SHADOW-NONE:CAPS"><code class="literal">GTK_SHADOW_NONE</code></a> are treated identically by GtkFrame. The chosen type is
|
||||
(<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-SHADOW-NONE:CAPS"><code class="literal">GTK_SHADOW_NONE</code></a>) or with (other values) a visible border. Values other than
|
||||
<a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GTK-SHADOW-NONE:CAPS"><code class="literal">GTK_SHADOW_NONE</code></a> are treated identically by GtkFrame. The chosen type is
|
||||
applied by removing or adding the .flat class to the CSS node named border.</p>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-frame-set-shadow-type.parameters"></a><h4>Parameters</h4>
|
||||
@ -428,7 +428,7 @@ applied by removing or adding the .flat class to the CSS node named border.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>type</p></td>
|
||||
<td class="parameter_description"><p>the new <a class="link" href="gtk3-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType"><span class="type">GtkShadowType</span></a></p></td>
|
||||
<td class="parameter_description"><p>the new <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkShadowType"><span class="type">GtkShadowType</span></a></p></td>
|
||||
<td class="parameter_annotations"> </td>
|
||||
</tr>
|
||||
</tbody>
|
||||
@ -539,7 +539,7 @@ there is none. </p>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="gtk-frame-get-shadow-type"></a><h3>gtk_frame_get_shadow_type ()</h3>
|
||||
<pre class="programlisting"><a class="link" href="gtk3-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType"><span class="returnvalue">GtkShadowType</span></a>
|
||||
<pre class="programlisting"><a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkShadowType"><span class="returnvalue">GtkShadowType</span></a>
|
||||
gtk_frame_get_shadow_type (<em class="parameter"><code><a class="link" href="GtkFrame.html" title="GtkFrame"><span class="type">GtkFrame</span></a> *frame</code></em>);</pre>
|
||||
<p>Retrieves the shadow type of the frame. See
|
||||
<a class="link" href="GtkFrame.html#gtk-frame-set-shadow-type" title="gtk_frame_set_shadow_type ()"><code class="function">gtk_frame_set_shadow_type()</code></a>.</p>
|
||||
@ -565,45 +565,12 @@ gtk_frame_get_shadow_type (<em class="parameter"><code><a class="link" href="Gtk
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkFrame.other_details"></a><h2>Types and Values</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkFrame-struct"></a><h3>struct GtkFrame</h3>
|
||||
<pre class="programlisting">struct GtkFrame;</pre>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkFrameClass"></a><h3>struct GtkFrameClass</h3>
|
||||
<pre class="programlisting">struct GtkFrameClass {
|
||||
GtkBinClass parent_class;
|
||||
|
||||
|
||||
void (*compute_child_allocation) (GtkFrame *frame,
|
||||
GtkAllocation *allocation);
|
||||
};
|
||||
</pre>
|
||||
<div class="refsect3">
|
||||
<a name="GtkFrameClass.members"></a><h4>Members</h4>
|
||||
<div class="informaltable"><table class="informaltable" width="100%" border="0">
|
||||
<colgroup>
|
||||
<col width="300px" class="struct_members_name">
|
||||
<col class="struct_members_description">
|
||||
<col width="200px" class="struct_members_annotations">
|
||||
</colgroup>
|
||||
<tbody><tr>
|
||||
<td class="struct_member_name"><p><em class="structfield"><code><a name="GtkFrameClass.compute-child-allocation"></a>compute_child_allocation</code></em> ()</p></td>
|
||||
<td class="struct_member_description"> </td>
|
||||
<td class="struct_member_annotations"> </td>
|
||||
</tr></tbody>
|
||||
</table></div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="refsect1">
|
||||
<a name="GtkFrame.property-details"></a><h2>Property Details</h2>
|
||||
<div class="refsect2">
|
||||
<a name="GtkFrame--label"></a><h3>The <code class="literal">“label”</code> property</h3>
|
||||
<pre class="programlisting"> “label” <span class="type">gchar</span> *</pre>
|
||||
<p>Text of the frame's label.</p>
|
||||
<p>Owner: GtkFrame</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: NULL</p>
|
||||
</div>
|
||||
@ -612,6 +579,7 @@ gtk_frame_get_shadow_type (<em class="parameter"><code><a class="link" href="Gtk
|
||||
<a name="GtkFrame--label-widget"></a><h3>The <code class="literal">“label-widget”</code> property</h3>
|
||||
<pre class="programlisting"> “label-widget” <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> *</pre>
|
||||
<p>A widget to display in place of the usual frame label.</p>
|
||||
<p>Owner: GtkFrame</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
</div>
|
||||
<hr>
|
||||
@ -619,6 +587,7 @@ gtk_frame_get_shadow_type (<em class="parameter"><code><a class="link" href="Gtk
|
||||
<a name="GtkFrame--label-xalign"></a><h3>The <code class="literal">“label-xalign”</code> property</h3>
|
||||
<pre class="programlisting"> “label-xalign” <span class="type">gfloat</span></pre>
|
||||
<p>The horizontal alignment of the label.</p>
|
||||
<p>Owner: GtkFrame</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: [0,1]</p>
|
||||
<p>Default value: 0</p>
|
||||
@ -628,6 +597,7 @@ gtk_frame_get_shadow_type (<em class="parameter"><code><a class="link" href="Gtk
|
||||
<a name="GtkFrame--label-yalign"></a><h3>The <code class="literal">“label-yalign”</code> property</h3>
|
||||
<pre class="programlisting"> “label-yalign” <span class="type">gfloat</span></pre>
|
||||
<p>The vertical alignment of the label.</p>
|
||||
<p>Owner: GtkFrame</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Allowed values: [0,1]</p>
|
||||
<p>Default value: 0.5</p>
|
||||
@ -635,14 +605,15 @@ gtk_frame_get_shadow_type (<em class="parameter"><code><a class="link" href="Gtk
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="GtkFrame--shadow-type"></a><h3>The <code class="literal">“shadow-type”</code> property</h3>
|
||||
<pre class="programlisting"> “shadow-type” <a class="link" href="gtk3-Standard-Enumerations.html#GtkShadowType" title="enum GtkShadowType"><span class="type">GtkShadowType</span></a></pre>
|
||||
<pre class="programlisting"> “shadow-type” <a href="https://developer.gnome.org/gtk4/gtk4-Standard-Enumerations.html#GtkShadowType"><span class="type">GtkShadowType</span></a></pre>
|
||||
<p>Appearance of the frame border.</p>
|
||||
<p>Owner: GtkFrame</p>
|
||||
<p>Flags: Read / Write</p>
|
||||
<p>Default value: GTK_SHADOW_ETCHED_IN</p>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.29</div>
|
||||
<hr>Generated by GTK-Doc V1.32.1</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user