~canonical-dx-team/ubuntu/maverick/gtk+2.0/menuproxy

« back to all changes in this revision

Viewing changes to docs/reference/gtk/html/GtkNotebook.html

  • Committer: Bazaar Package Importer
  • Author(s): Sebastien Bacher
  • Date: 2010-06-02 15:59:27 UTC
  • mfrom: (72.1.15 experimental)
  • Revision ID: james.westby@ubuntu.com-20100602155927-uwh99v2582rw3r8z
Tags: 2.21.1-1ubuntu1
* debian/patches/070_mandatory-relibtoolize.patch:
  - refreshed
* debian/patches/072_indicator_menu_update.patch:
  - change by Cody Russell to send an update event on menu changes,
    should make the bluetooth indicator refresh correctly (lp: #558841)
* debian/patches/091_bugzilla_tooltip_refresh.patch:
  - refreshed

Show diffs side-by-side

added added

removed removed

Lines of Context:
8
8
<link rel="up" href="LayoutContainers.html" title="Layout Containers">
9
9
<link rel="prev" href="GtkLayout.html" title="GtkLayout">
10
10
<link rel="next" href="GtkTable.html" title="GtkTable">
11
 
<meta name="generator" content="GTK-Doc V1.14 (XML mode)">
 
11
<meta name="generator" content="GTK-Doc V1.15 (XML mode)">
12
12
<link rel="stylesheet" href="style.css" type="text/css">
13
13
</head>
14
14
<body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF">
285
285
element.
286
286
</p>
287
287
<div class="example">
288
 
<a name="id1036609"></a><p class="title"><b>Example 43. A UI definition fragment with GtkNotebook</b></p>
 
288
<a name="id1189955"></a><p class="title"><b>Example 43. A UI definition fragment with GtkNotebook</b></p>
289
289
<div class="example-contents">
290
290
  <table class="listing_frame" border="0" cellpadding="0" cellspacing="0">
291
291
    <tbody>
380
380
<tr>
381
381
<td><p><span class="term"><em class="parameter"><code>tab_label</code></em> :</span></p></td>
382
382
<td> the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to be used as the label for the page,
383
 
            or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to use the default label, 'page N'.. <acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>. </td>
 
383
            or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to use the default label, 'page N'. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
384
</td>
384
385
</tr>
385
386
<tr>
386
387
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
418
419
<tr>
419
420
<td><p><span class="term"><em class="parameter"><code>tab_label</code></em> :</span></p></td>
420
421
<td> the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to be used as the label for the page,
421
 
            or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to use the default label, 'page N'.. <acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>. </td>
 
422
            or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to use the default label, 'page N'. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
423
</td>
422
424
</tr>
423
425
<tr>
424
426
<td><p><span class="term"><em class="parameter"><code>menu_label</code></em> :</span></p></td>
427
429
             is a <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the menu label will be
428
430
             a newly created label with the same text as <em class="parameter"><code>tab_label</code></em>;
429
431
             If <em class="parameter"><code>tab_label</code></em> is not a <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a>, <em class="parameter"><code>menu_label</code></em> must be
430
 
             specified if the page-switch menu is to be used.. <acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>. </td>
 
432
             specified if the page-switch menu is to be used. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
433
</td>
431
434
</tr>
432
435
<tr>
433
436
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
463
466
<tr>
464
467
<td><p><span class="term"><em class="parameter"><code>tab_label</code></em> :</span></p></td>
465
468
<td> the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to be used as the label for the page,
466
 
            or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to use the default label, 'page N'.. <acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>. </td>
 
469
            or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to use the default label, 'page N'. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
470
</td>
467
471
</tr>
468
472
<tr>
469
473
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
501
505
<tr>
502
506
<td><p><span class="term"><em class="parameter"><code>tab_label</code></em> :</span></p></td>
503
507
<td> the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to be used as the label for the page,
504
 
            or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to use the default label, 'page N'.. <acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>. </td>
 
508
            or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to use the default label, 'page N'. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
509
</td>
505
510
</tr>
506
511
<tr>
507
512
<td><p><span class="term"><em class="parameter"><code>menu_label</code></em> :</span></p></td>
510
515
             is a <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the menu label will be
511
516
             a newly created label with the same text as <em class="parameter"><code>tab_label</code></em>;
512
517
             If <em class="parameter"><code>tab_label</code></em> is not a <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a>, <em class="parameter"><code>menu_label</code></em> must be
513
 
             specified if the page-switch menu is to be used.. <acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>. </td>
 
518
             specified if the page-switch menu is to be used. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
519
</td>
514
520
</tr>
515
521
<tr>
516
522
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
547
553
<tr>
548
554
<td><p><span class="term"><em class="parameter"><code>tab_label</code></em> :</span></p></td>
549
555
<td> the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to be used as the label for the page,
550
 
            or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to use the default label, 'page N'.. <acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>. </td>
 
556
            or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to use the default label, 'page N'. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
557
</td>
551
558
</tr>
552
559
<tr>
553
560
<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
592
599
<tr>
593
600
<td><p><span class="term"><em class="parameter"><code>tab_label</code></em> :</span></p></td>
594
601
<td> the <a class="link" href="GtkWidget.html" title="GtkWidget"><span class="type">GtkWidget</span></a> to be used as the label for the page,
595
 
            or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to use the default label, 'page N'.. <acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>. </td>
 
602
            or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to use the default label, 'page N'. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
603
</td>
596
604
</tr>
597
605
<tr>
598
606
<td><p><span class="term"><em class="parameter"><code>menu_label</code></em> :</span></p></td>
601
609
             is a <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a> or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>, then the menu label will be
602
610
             a newly created label with the same text as <em class="parameter"><code>tab_label</code></em>;
603
611
             If <em class="parameter"><code>tab_label</code></em> is not a <a class="link" href="GtkLabel.html" title="GtkLabel"><span class="type">GtkLabel</span></a>, <em class="parameter"><code>menu_label</code></em> must be
604
 
             specified if the page-switch menu is to be used.. <acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>. </td>
 
612
             specified if the page-switch menu is to be used. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
613
</td>
605
614
</tr>
606
615
<tr>
607
616
<td><p><span class="term"><em class="parameter"><code>position</code></em> :</span></p></td>
1017
1026
<tr>
1018
1027
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1019
1028
<td> the child widget, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> if <em class="parameter"><code>page_num</code></em> is
1020
 
out of bounds.. <acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>. </td>
 
1029
out of bounds. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
 
1030
</td>
1021
1031
</tr>
1022
1032
</tbody>
1023
1033
</table></div>
1072
1082
</tr>
1073
1083
<tr>
1074
1084
<td><p><span class="term"><span class="emphasis"><em>Returns</em></span> :</span></p></td>
1075
 
<td> the tab label. <acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>. </td>
 
1085
<td> the tab label. <span class="annotation">[<acronym title="Don't free data after the code is done."><span class="acronym">transfer none</span></acronym>]</span>
 
1086
</td>
1076
1087
</tr>
1077
1088
</tbody>
1078
1089
</table></div>
1179
1190
</tr>
1180
1191
<tr>
1181
1192
<td><p><span class="term"><em class="parameter"><code>menu_label</code></em> :</span></p></td>
1182
 
<td> the menu label, or NULL for default. <acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>. </td>
 
1193
<td> the menu label, or NULL for default. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
1194
</td>
1183
1195
</tr>
1184
1196
</tbody>
1185
1197
</table></div>
1268
1280
<tr>
1269
1281
<td><p><span class="term"><em class="parameter"><code>tab_label</code></em> :</span></p></td>
1270
1282
<td> the tab label widget to use, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> for default tab
1271
 
            label.. <acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>. </td>
 
1283
            label. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
1284
</td>
1272
1285
</tr>
1273
1286
</tbody>
1274
1287
</table></div>
1852
1865
</tr>
1853
1866
<tr>
1854
1867
<td><p><span class="term"><em class="parameter"><code>group</code></em> :</span></p></td>
1855
 
<td> a pointer to identify the notebook group, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset it. <acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>. </td>
 
1868
<td> a pointer to identify the notebook group, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a> to unset it. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
1869
</td>
1856
1870
</tr>
1857
1871
</tbody>
1858
1872
</table></div>
2020
2034
<tbody>
2021
2035
<tr>
2022
2036
<td><p><span class="term"><em class="parameter"><code>func</code></em> :</span></p></td>
2023
 
<td> the <a class="link" href="GtkNotebook.html#GtkNotebookWindowCreationFunc" title="GtkNotebookWindowCreationFunc ()"><span class="type">GtkNotebookWindowCreationFunc</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>. </td>
 
2037
<td> the <a class="link" href="GtkNotebook.html#GtkNotebookWindowCreationFunc" title="GtkNotebookWindowCreationFunc ()"><span class="type">GtkNotebookWindowCreationFunc</span></a>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
2038
</td>
2024
2039
</tr>
2025
2040
<tr>
2026
2041
<td><p><span class="term"><em class="parameter"><code>data</code></em> :</span></p></td>
2029
2044
</tr>
2030
2045
<tr>
2031
2046
<td><p><span class="term"><em class="parameter"><code>destroy</code></em> :</span></p></td>
2032
 
<td> Destroy notifier for <em class="parameter"><code>data</code></em>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>. </td>
 
2047
<td> Destroy notifier for <em class="parameter"><code>data</code></em>, or <a href="/usr/share/gtk-doc/html/glib/glib-Standard-Macros.html#NULL:CAPS"><code class="literal">NULL</code></a>. <span class="annotation">[<acronym title="NULL is ok, both for passing and for returning."><span class="acronym">allow-none</span></acronym>]</span>
 
2048
</td>
2033
2049
</tr>
2034
2050
</tbody>
2035
2051
</table></div>
2661
2677
</div>
2662
2678
<div class="footer">
2663
2679
<hr>
2664
 
          Generated by GTK-Doc V1.14</div>
 
2680
          Generated by GTK-Doc V1.15</div>
2665
2681
</body>
2666
2682
</html>
 
 
b'\\ No newline at end of file'