New upstream version 3.23.0
This commit is contained in:
@ -3,12 +3,12 @@
|
||||
<head>
|
||||
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
|
||||
<title>GtkNotebook: GTK+ 3 Reference Manual</title>
|
||||
<meta name="generator" content="DocBook XSL Stylesheets Vsnapshot">
|
||||
<meta name="generator" content="DocBook XSL Stylesheets V1.79.1">
|
||||
<link rel="home" href="index.html" title="GTK+ 3 Reference Manual">
|
||||
<link rel="up" href="LayoutContainers.html" title="Layout Containers">
|
||||
<link rel="prev" href="GtkLayout.html" title="GtkLayout">
|
||||
<link rel="next" href="GtkExpander.html" title="GtkExpander">
|
||||
<meta name="generator" content="GTK-Doc V1.27 (XML mode)">
|
||||
<meta name="generator" content="GTK-Doc V1.25 (XML mode)">
|
||||
<link rel="stylesheet" href="style.css" type="text/css">
|
||||
</head>
|
||||
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
|
||||
@ -678,87 +678,44 @@ type attribute.</p>
|
||||
"action-start" or “action-end” as the “type” attribute of the
|
||||
<child> element.</p>
|
||||
<p>An example of a UI definition fragment with GtkNotebook:</p>
|
||||
<div class="informalexample">
|
||||
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="listing_lines" align="right"><pre>1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
10
|
||||
11
|
||||
12</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">"GtkNotebook"</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">"GtkLabel"</span><span class="normal"> id</span><span class="symbol">=</span><span class="string">"notebook-content"</span><span class="symbol">></span>
|
||||
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">property</span><span class="normal"> name</span><span class="symbol">=</span><span class="string">"label"</span><span class="symbol">></span><span class="normal">Content</span><span class="symbol"></</span><span class="normal">property</span><span class="symbol">></span>
|
||||
<span class="normal"> </span><span class="symbol"></</span><span class="normal">object</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">child</span><span class="normal"> type</span><span class="symbol">=</span><span class="string">"tab"</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">"notebook-tab"</span><span class="symbol">></span>
|
||||
<span class="normal"> </span><span class="symbol"><</span><span class="usertype">property</span><span class="normal"> name</span><span class="symbol">=</span><span class="string">"label"</span><span class="symbol">></span><span class="normal">Tab</span><span class="symbol"></</span><span class="normal">property</span><span class="symbol">></span>
|
||||
<span class="normal"> </span><span class="symbol"></</span><span class="normal">object</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>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="informalexample"><pre class="programlisting">
|
||||
<object class="GtkNotebook">
|
||||
<child>
|
||||
<object class="GtkLabel" id="notebook-content">
|
||||
<property name="label">Content</property>
|
||||
</object>
|
||||
</child>
|
||||
<child type="tab">
|
||||
<object class="GtkLabel" id="notebook-tab">
|
||||
<property name="label">Tab</property>
|
||||
</object>
|
||||
</child>
|
||||
</object>
|
||||
</pre></div>
|
||||
<p></p>
|
||||
</div>
|
||||
<hr>
|
||||
<div class="refsect2">
|
||||
<a name="id-1.3.7.16.12.5"></a><h3>CSS nodes</h3>
|
||||
<div class="informalexample">
|
||||
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="listing_lines" align="right"><pre>1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
10
|
||||
11
|
||||
12
|
||||
13
|
||||
14
|
||||
15
|
||||
16
|
||||
17</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="normal">notebook</span>
|
||||
<span class="normal">├── header</span><span class="symbol">.</span><span class="normal">top</span>
|
||||
<span class="normal">│ ├── </span><span class="symbol">[<</span><span class="usertype">action</span><span class="normal"> widget</span><span class="symbol">>]</span>
|
||||
<span class="normal">│ ├── tabs</span>
|
||||
<span class="normal">│ │ ├── </span><span class="symbol">[</span><span class="normal">arrow</span><span class="symbol">]</span>
|
||||
<span class="normal">│ │ ├── tab</span>
|
||||
<span class="normal">│ │ │ ╰── </span><span class="symbol"><</span><span class="usertype">tab</span><span class="normal"> label</span><span class="symbol">></span>
|
||||
<span class="normal">┊ ┊ ┊</span>
|
||||
<span class="normal">│ │ ├── tab</span><span class="symbol">[.</span><span class="normal">reorderable</span><span class="symbol">-</span><span class="normal">page</span><span class="symbol">]</span>
|
||||
<span class="normal">│ │ │ ╰── </span><span class="symbol"><</span><span class="usertype">tab</span><span class="normal"> label</span><span class="symbol">></span>
|
||||
<span class="normal">│ │ ╰── </span><span class="symbol">[</span><span class="normal">arrow</span><span class="symbol">]</span>
|
||||
<span class="normal">│ ╰── </span><span class="symbol">[<</span><span class="usertype">action</span><span class="normal"> widget</span><span class="symbol">>]</span>
|
||||
<span class="normal">│</span>
|
||||
<span class="normal">╰── stack</span>
|
||||
<span class="normal"> ├── </span><span class="symbol"><</span><span class="normal">child</span><span class="symbol">></span>
|
||||
<span class="normal"> ┊</span>
|
||||
<span class="normal"> ╰── </span><span class="symbol"><</span><span class="normal">child</span><span class="symbol">></span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
|
||||
<div class="informalexample"><pre class="programlisting">
|
||||
notebook
|
||||
├── header.top
|
||||
│ ├── [<action widget>]
|
||||
│ ├── tabs
|
||||
│ │ ├── [arrow]
|
||||
│ │ ├── tab
|
||||
│ │ │ ╰── <tab label>
|
||||
┊ ┊ ┊
|
||||
│ │ ├── tab[.reorderable-page]
|
||||
│ │ │ ╰── <tab label>
|
||||
│ │ ╰── [arrow]
|
||||
│ ╰── [<action widget>]
|
||||
│
|
||||
╰── stack
|
||||
├── <child>
|
||||
┊
|
||||
╰── <child>
|
||||
</pre></div>
|
||||
<p></p>
|
||||
<p>GtkNotebook has a main CSS node with name notebook, a subnode
|
||||
with name header and below that a subnode with name tabs which
|
||||
@ -817,7 +774,7 @@ gtk_notebook_append_page (<em class="parameter"><code><a class="link" href="GtkN
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>tab_label</p></td>
|
||||
<td class="parameter_description"><p>the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to be used as the label
|
||||
<td class="parameter_description"><p> the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to be used as the label
|
||||
for the page, or <code class="literal">NULL</code> to use the default label, “page N”. </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>
|
||||
@ -862,13 +819,13 @@ label in the popup menu.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>tab_label</p></td>
|
||||
<td class="parameter_description"><p>the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to be used as the label
|
||||
<td class="parameter_description"><p> the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to be used as the label
|
||||
for the page, or <code class="literal">NULL</code> to use the default label, “page N”. </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>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>menu_label</p></td>
|
||||
<td class="parameter_description"><p>the widget to use as a label for the
|
||||
<td class="parameter_description"><p> the widget to use as a label for the
|
||||
page-switch menu, if that is enabled. If <code class="literal">NULL</code>, and <em class="parameter"><code>tab_label</code></em>
|
||||
is a <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> or <code class="literal">NULL</code>, then the menu label will be a newly
|
||||
created label with the same text as <em class="parameter"><code>tab_label</code></em>
|
||||
@ -917,7 +874,7 @@ gtk_notebook_prepend_page (<em class="parameter"><code><a class="link" href="Gtk
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>tab_label</p></td>
|
||||
<td class="parameter_description"><p>the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to be used as the label
|
||||
<td class="parameter_description"><p> the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to be used as the label
|
||||
for the page, or <code class="literal">NULL</code> to use the default label, “page N”. </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>
|
||||
@ -962,13 +919,13 @@ label in the popup menu.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>tab_label</p></td>
|
||||
<td class="parameter_description"><p>the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to be used as the label
|
||||
<td class="parameter_description"><p> the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to be used as the label
|
||||
for the page, or <code class="literal">NULL</code> to use the default label, “page N”. </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>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>menu_label</p></td>
|
||||
<td class="parameter_description"><p>the widget to use as a label for the
|
||||
<td class="parameter_description"><p> the widget to use as a label for the
|
||||
page-switch menu, if that is enabled. If <code class="literal">NULL</code>, and <em class="parameter"><code>tab_label</code></em>
|
||||
is a <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> or <code class="literal">NULL</code>, then the menu label will be a newly
|
||||
created label with the same text as <em class="parameter"><code>tab_label</code></em>
|
||||
@ -1018,7 +975,7 @@ gtk_notebook_insert_page (<em class="parameter"><code><a class="link" href="GtkN
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>tab_label</p></td>
|
||||
<td class="parameter_description"><p>the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to be used as the label
|
||||
<td class="parameter_description"><p> the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to be used as the label
|
||||
for the page, or <code class="literal">NULL</code> to use the default label, “page N”. </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>
|
||||
@ -1070,13 +1027,13 @@ the widget to use as the label in the popup menu.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>tab_label</p></td>
|
||||
<td class="parameter_description"><p>the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to be used as the label
|
||||
<td class="parameter_description"><p> the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to be used as the label
|
||||
for the page, or <code class="literal">NULL</code> to use the default label, “page N”. </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>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>menu_label</p></td>
|
||||
<td class="parameter_description"><p>the widget to use as a label for the
|
||||
<td class="parameter_description"><p> the widget to use as a label for the
|
||||
page-switch menu, if that is enabled. If <code class="literal">NULL</code>, and <em class="parameter"><code>tab_label</code></em>
|
||||
is a <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> or <code class="literal">NULL</code>, then the menu label will be a newly
|
||||
created label with the same text as <em class="parameter"><code>tab_label</code></em>
|
||||
@ -1526,7 +1483,7 @@ gtk_notebook_get_menu_label (<em class="parameter"><code><a class="link" href="G
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-notebook-get-menu-label.returns"></a><h4>Returns</h4>
|
||||
<p>the menu label, or <code class="literal">NULL</code> if the
|
||||
<p> the menu label, or <code class="literal">NULL</code> if the
|
||||
notebook page does not have a menu label other than the default (the tab
|
||||
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>][<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
@ -1565,7 +1522,7 @@ to get the last page</p></td>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-notebook-get-nth-page.returns"></a><h4>Returns</h4>
|
||||
<p>the child widget, or <code class="literal">NULL</code> if <em class="parameter"><code>page_num</code></em>
|
||||
<p> the child widget, or <code class="literal">NULL</code> if <em class="parameter"><code>page_num</code></em>
|
||||
is out of bounds. </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>
|
||||
@ -1634,7 +1591,7 @@ if no tab label has specifically been set for <em class="parameter"><code>child<
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-notebook-get-tab-label.returns"></a><h4>Returns</h4>
|
||||
<p>the tab label. </p>
|
||||
<p> the tab label. </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>
|
||||
</div>
|
||||
</div>
|
||||
@ -1668,7 +1625,7 @@ gtk_notebook_set_menu_label (<em class="parameter"><code><a class="link" href="G
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>menu_label</p></td>
|
||||
<td class="parameter_description"><p>the menu label, or <code class="literal">NULL</code> for default. </p></td>
|
||||
<td class="parameter_description"><p> the menu label, or <code class="literal">NULL</code> for default. </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>
|
||||
@ -1745,7 +1702,7 @@ have the label “page N”.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>tab_label</p></td>
|
||||
<td class="parameter_description"><p>the tab label widget to use, or <code class="literal">NULL</code>
|
||||
<td class="parameter_description"><p> the tab label widget to use, or <code class="literal">NULL</code>
|
||||
for default tab label. </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>
|
||||
@ -1853,55 +1810,28 @@ the source notebook as part of accepting a drop. Otherwise,
|
||||
the source notebook will think that the dragged tab was
|
||||
removed from underneath the ongoing drag operation, and
|
||||
will initiate a drag cancel animation.</p>
|
||||
<div class="informalexample">
|
||||
<table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
|
||||
<tbody>
|
||||
<tr>
|
||||
<td class="listing_lines" align="right"><pre>1
|
||||
2
|
||||
3
|
||||
4
|
||||
5
|
||||
6
|
||||
7
|
||||
8
|
||||
9
|
||||
10
|
||||
11
|
||||
12
|
||||
13
|
||||
14
|
||||
15
|
||||
16
|
||||
17
|
||||
18
|
||||
19
|
||||
20</pre></td>
|
||||
<td class="listing_code"><pre class="programlisting"><span class="keyword">static</span><span class="normal"> </span><span class="type">void</span>
|
||||
<span class="function">on_drag_data_received</span><span class="normal"> </span><span class="symbol">(</span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">widget</span><span class="symbol">,</span>
|
||||
<span class="normal"> </span><span class="usertype">GdkDragContext</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">context</span><span class="symbol">,</span>
|
||||
<span class="normal"> </span><span class="usertype">gint</span><span class="normal"> x</span><span class="symbol">,</span>
|
||||
<span class="normal"> </span><span class="usertype">gint</span><span class="normal"> y</span><span class="symbol">,</span>
|
||||
<span class="normal"> </span><span class="usertype">GtkSelectionData</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">data</span><span class="symbol">,</span>
|
||||
<span class="normal"> </span><span class="usertype">guint</span><span class="normal"> info</span><span class="symbol">,</span>
|
||||
<span class="normal"> </span><span class="usertype">guint</span><span class="normal"> time</span><span class="symbol">,</span>
|
||||
<span class="normal"> </span><span class="usertype">gpointer</span><span class="normal"> user_data</span><span class="symbol">)</span>
|
||||
<span class="cbracket">{</span>
|
||||
<span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">notebook</span><span class="symbol">;</span>
|
||||
<span class="normal"> </span><span class="usertype">GtkWidget</span><span class="normal"> </span><span class="symbol">**</span><span class="normal">child</span><span class="symbol">;</span>
|
||||
<div class="informalexample"><pre class="programlisting">
|
||||
static void
|
||||
on_drag_data_received (GtkWidget *widget,
|
||||
GdkDragContext *context,
|
||||
gint x,
|
||||
gint y,
|
||||
GtkSelectionData *data,
|
||||
guint info,
|
||||
guint time,
|
||||
gpointer user_data)
|
||||
{
|
||||
GtkWidget *notebook;
|
||||
GtkWidget **child;
|
||||
|
||||
<span class="normal"> notebook </span><span class="symbol">=</span><span class="normal"> </span><span class="function"><a href="gtk3-Drag-and-Drop.html#gtk-drag-get-source-widget">gtk_drag_get_source_widget</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">context</span><span class="symbol">);</span>
|
||||
<span class="normal"> child </span><span class="symbol">=</span><span class="normal"> </span><span class="symbol">(</span><span class="type">void</span><span class="symbol">*)</span><span class="normal"> </span><span class="function"><a href="gtk3-Selections.html#gtk-selection-data-get-data">gtk_selection_data_get_data</a></span><span class="normal"> </span><span class="symbol">(</span><span class="normal">data</span><span class="symbol">);</span>
|
||||
notebook = gtk_drag_get_source_widget (context);
|
||||
child = (void*) gtk_selection_data_get_data (data);
|
||||
|
||||
<span class="normal"> </span><span class="comment">// process_widget (*child);</span>
|
||||
|
||||
<span class="normal"> </span><span class="function"><a href="GtkNotebook.html#gtk-notebook-detach-tab">gtk_notebook_detach_tab</a></span><span class="normal"> </span><span class="symbol">(</span><span class="function">GTK_NOTEBOOK</span><span class="normal"> </span><span class="symbol">(</span><span class="normal">notebook</span><span class="symbol">),</span><span class="normal"> </span><span class="symbol">*</span><span class="normal">child</span><span class="symbol">);</span>
|
||||
<span class="cbracket">}</span></pre></td>
|
||||
</tr>
|
||||
</tbody>
|
||||
</table>
|
||||
</div>
|
||||
// process_widget (*child);
|
||||
|
||||
gtk_notebook_detach_tab (GTK_NOTEBOOK (notebook), *child);
|
||||
}
|
||||
</pre></div>
|
||||
<p></p>
|
||||
<p>If you want a notebook to accept drags from other widgets,
|
||||
you will have to set your own DnD code to do it.</p>
|
||||
@ -1967,7 +1897,7 @@ gtk_notebook_get_menu_label_text (<em class="parameter"><code><a class="link" hr
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-notebook-get-menu-label-text.returns"></a><h4>Returns</h4>
|
||||
<p>the text of the tab label, or <code class="literal">NULL</code> if the widget does
|
||||
<p> the text of the tab label, or <code class="literal">NULL</code> if the widget does
|
||||
not have a menu label other than the default menu label, or the menu label
|
||||
widget is not a <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a>. The string is owned by the widget and must not be
|
||||
freed. </p>
|
||||
@ -2089,7 +2019,7 @@ gtk_notebook_get_tab_label_text (<em class="parameter"><code><a class="link" hre
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-notebook-get-tab-label-text.returns"></a><h4>Returns</h4>
|
||||
<p>the text of the tab label, or <code class="literal">NULL</code> if the tab label
|
||||
<p> the text of the tab label, or <code class="literal">NULL</code> if the tab label
|
||||
widget is not a <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a>. The string is owned by the widget and must not be
|
||||
freed. </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>
|
||||
@ -2320,7 +2250,7 @@ not be able to exchange tabs with any other notebook.</p>
|
||||
</tr>
|
||||
<tr>
|
||||
<td class="parameter_name"><p>group_name</p></td>
|
||||
<td class="parameter_description"><p>the name of the notebook group,
|
||||
<td class="parameter_description"><p> the name of the notebook group,
|
||||
or <code class="literal">NULL</code> to unset it. </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>
|
||||
@ -2353,7 +2283,7 @@ gtk_notebook_get_group_name (<em class="parameter"><code><a class="link" href="G
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-notebook-get-group-name.returns"></a><h4>Returns</h4>
|
||||
<p>the group name, or <code class="literal">NULL</code> if none is set. </p>
|
||||
<p> the group name, or <code class="literal">NULL</code> if none is set. </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: 2.24</p>
|
||||
@ -2431,7 +2361,7 @@ gtk_notebook_get_action_widget (<em class="parameter"><code><a class="link" href
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="gtk-notebook-get-action-widget.returns"></a><h4>Returns</h4>
|
||||
<p>The action widget with the given
|
||||
<p> The action widget with the given
|
||||
<em class="parameter"><code>pack_type</code></em>
|
||||
or <code class="literal">NULL</code> when this action widget has not been set. </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>
|
||||
@ -2753,7 +2683,7 @@ that is being detached</p></td>
|
||||
</div>
|
||||
<div class="refsect3">
|
||||
<a name="GtkNotebook-create-window.returns"></a><h4>Returns</h4>
|
||||
<p>a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a> that <em class="parameter"><code>page</code></em>
|
||||
<p> a <a class="link" href="GtkNotebook.html" title="GtkNotebook"><span class="type">GtkNotebook</span></a> that <em class="parameter"><code>page</code></em>
|
||||
should be
|
||||
added to, or <code class="literal">NULL</code>. </p>
|
||||
<p><span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span></p>
|
||||
@ -2986,6 +2916,6 @@ user_function (<a class="link" href="GtkNotebook.html" title="GtkNotebook"><span
|
||||
</div>
|
||||
</div>
|
||||
<div class="footer">
|
||||
<hr>Generated by GTK-Doc V1.27</div>
|
||||
<hr>Generated by GTK-Doc V1.25</div>
|
||||
</body>
|
||||
</html>
|
||||
Reference in New Issue
Block a user