/usr/share/perl5/Gtk2/Notebook.pod is in libgtk2-perl-doc 2:1.24992-1build1.
This file is owned by root:root, with mode 0o644.
The actual contents of the file can be viewed below.
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57 58 59 60 61 62 63 64 65 66 67 68 69 70 71 72 73 74 75 76 77 78 79 80 81 82 83 84 85 86 87 88 89 90 91 92 93 94 95 96 97 98 99 100 101 102 103 104 105 106 107 108 109 110 111 112 113 114 115 116 117 118 119 120 121 122 123 124 125 126 127 128 129 130 131 132 133 134 135 136 137 138 139 140 141 142 143 144 145 146 147 148 149 150 151 152 153 154 155 156 157 158 159 160 161 162 163 164 165 166 167 168 169 170 171 172 173 174 175 176 177 178 179 180 181 182 183 184 185 186 187 188 189 190 191 192 193 194 195 196 197 198 199 200 201 202 203 204 205 206 207 208 209 210 211 212 213 214 215 216 217 218 219 220 221 222 223 224 225 226 227 228 229 230 231 232 233 234 235 236 237 238 239 240 241 242 243 244 245 246 247 248 249 250 251 252 253 254 255 256 257 258 259 260 261 262 263 264 265 266 267 268 269 270 271 272 273 274 275 276 277 278 279 280 281 282 283 284 285 286 287 288 289 290 291 292 293 294 295 296 297 298 299 300 301 302 303 304 305 306 307 308 309 310 311 312 313 314 315 316 317 318 319 320 321 322 323 324 325 326 327 328 329 330 331 332 333 334 335 336 337 338 339 340 341 342 343 344 345 346 347 348 349 350 351 352 353 354 355 356 357 358 359 360 361 362 363 364 365 366 367 368 369 370 371 372 373 374 375 376 377 378 379 380 381 382 383 384 385 386 387 388 389 390 391 392 393 394 395 396 397 398 399 400 401 402 403 404 405 406 407 408 409 410 411 412 413 414 415 416 417 418 419 420 421 422 423 424 425 426 427 428 429 430 431 432 433 434 435 436 437 438 439 440 441 442 443 444 445 446 447 448 449 450 451 452 453 454 455 456 457 458 459 460 461 462 463 464 465 466 467 468 469 470 471 472 473 474 475 476 477 478 479 480 481 482 483 484 485 486 487 488 489 490 491 492 493 494 495 496 497 498 499 500 501 502 503 504 505 506 507 508 509 510 511 512 513 514 515 516 517 518 519 520 521 522 523 524 525 526 527 528 529 530 531 532 533 534 535 536 537 538 539 540 541 542 543 544 545 546 547 548 549 550 551 552 553 554 555 556 557 558 559 560 561 562 563 564 565 566 567 568 569 570 571 572 573 574 575 576 577 578 579 580 581 582 583 584 585 586 587 588 589 590 591 592 593 594 595 596 597 598 599 600 601 602 603 604 605 606 607 608 609 610 611 612 613 614 615 616 617 618 619 620 621 622 623 624 625 626 627 628 629 630 631 632 633 634 635 636 637 638 639 640 641 642 643 644 645 646 647 648 649 650 651 652 653 654 655 656 657 658 659 660 661 662 663 664 665 666 667 668 669 670 671 672 673 674 675 676 677 678 679 680 681 682 683 684 685 686 687 688 | =head1 NAME
Gtk2::Notebook - wrapper for GtkNotebook
=cut
=head1 HIERARCHY
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Container
+----Gtk2::Notebook
=cut
=head1 INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable
=cut
=head1 METHODS
=head2 widget = Gtk2::Notebook-E<gt>B<new>
=head2 widget or undef = $notebook-E<gt>B<get_action_widget> ($pack_type)
=over
=item * $pack_type (Gtk2::PackType)
=back
Since: gtk+ 2.20
=head2 $notebook-E<gt>B<set_action_widget> ($widget, $pack_type)
=over
=item * $widget (Gtk2::Widget)
=item * $pack_type (Gtk2::PackType)
=back
Since: gtk+ 2.20
=head2 integer = $notebook-E<gt>B<append_page> ($child, $tab_label=undef)
=over
=item * $child (Gtk2::Widget)
=item * $tab_label (scalar)
=back
(integer return since Gtk2-Perl 1.080)
=head2 integer = $notebook-E<gt>B<append_page_menu> ($child, $tab_label, $menu_label)
=over
=item * $child (Gtk2::Widget)
=item * $tab_label (Gtk2::Widget or undef)
=item * $menu_label (Gtk2::Widget or undef)
=back
(integer return since Gtk2-Perl 1.080)
=head2 integer = $notebook-E<gt>B<get_current_page>
=head2 $notebook-E<gt>B<set_current_page> ($page_num)
=over
=item * $page_num (integer)
=back
=head2 integer = $notebook-E<gt>B<get_group_id>
Since: gtk+ 2.10
=head2 $notebook-E<gt>B<set_group_id> ($group_id)
=over
=item * $group_id (integer)
=back
Since: gtk+ 2.10
=head2 integer = $notebook-E<gt>B<insert_page> ($child, $tab_label, $position)
=over
=item * $child (Gtk2::Widget)
=item * $tab_label (scalar)
=item * $position (integer)
=back
(integer return since Gtk2-Perl 1.080)
=head2 integer = $notebook-E<gt>B<insert_page_menu> ($child, $tab_label, $menu_label, $position)
=over
=item * $child (Gtk2::Widget)
=item * $tab_label (Gtk2::Widget or undef)
=item * $menu_label (Gtk2::Widget or undef)
=item * $position (integer)
=back
(integer return since Gtk2-Perl 1.080)
=head2 widget or undef = $notebook-E<gt>B<get_menu_label> ($child)
=over
=item * $child (Gtk2::Widget)
=back
=head2 $notebook-E<gt>B<set_menu_label> ($child, $menu_label=undef)
=over
=item * $child (Gtk2::Widget)
=item * $menu_label (Gtk2::Widget or undef)
=back
=head2 string = $notebook-E<gt>B<get_menu_label_text> ($child)
=over
=item * $child (Gtk2::Widget)
=back
=head2 $notebook-E<gt>B<set_menu_label_text> ($child, $menu_text)
=over
=item * $child (Gtk2::Widget)
=item * $menu_text (string)
=back
=head2 integer = $notebook-E<gt>B<get_n_pages>
=head2 $notebook-E<gt>B<next_page>
=head2 widget or undef = $notebook-E<gt>B<get_nth_page> ($page_num)
=over
=item * $page_num (integer)
=back
=head2 integer = $notebook-E<gt>B<page_num> ($child)
=over
=item * $child (Gtk2::Widget)
=back
=head2 $notebook-E<gt>B<popup_disable>
=head2 $notebook-E<gt>B<popup_enable>
=head2 integer = $notebook-E<gt>B<prepend_page> ($child, $tab_label=undef)
=over
=item * $child (Gtk2::Widget)
=item * $tab_label (scalar)
=back
(integer return since Gtk2-Perl 1.080)
=head2 integer = $notebook-E<gt>B<prepend_page_menu> ($child, $tab_label, $menu_label)
=over
=item * $child (Gtk2::Widget)
=item * $tab_label (Gtk2::Widget or undef)
=item * $menu_label (Gtk2::Widget or undef)
=back
(integer return since Gtk2-Perl 1.080)
=head2 $notebook-E<gt>B<prev_page>
=head2 list = $notebook-E<gt>B<query_tab_label_packing> ($child)
=over
=item * $child (Gtk2::Widget)
=back
=head2 $notebook-E<gt>B<remove_page> ($page_num)
=over
=item * $page_num (integer)
=back
=head2 $notebook-E<gt>B<reorder_child> ($child, $position)
=over
=item * $child (Gtk2::Widget)
=item * $position (integer)
=back
=head2 boolean = $notebook-E<gt>B<get_scrollable>
=head2 $notebook-E<gt>B<set_scrollable> ($scrollable)
=over
=item * $scrollable (boolean)
=back
=head2 boolean = $notebook-E<gt>B<get_show_border>
=head2 $notebook-E<gt>B<set_show_border> ($show_border)
=over
=item * $show_border (boolean)
=back
=head2 boolean = $notebook-E<gt>B<get_show_tabs>
=head2 $notebook-E<gt>B<set_show_tabs> ($show_tabs)
=over
=item * $show_tabs (boolean)
=back
=head2 $notebook-E<gt>B<set_tab_border> ($border_width)
=over
=item * $border_width (integer)
=back
=head2 boolean = $notebook-E<gt>B<get_tab_detachable> ($child)
=over
=item * $child (Gtk2::Widget)
=back
Since: gtk+ 2.10
=head2 $notebook-E<gt>B<set_tab_detachable> ($child, $detachable)
=over
=item * $child (Gtk2::Widget)
=item * $detachable (boolean)
=back
Since: gtk+ 2.10
=head2 unsigned = $notebook-E<gt>B<get_tab_hborder>
Since: gtk+ 2.22
=head2 $notebook-E<gt>B<set_tab_hborder> ($tab_hborder)
=over
=item * $tab_hborder (integer)
=back
=head2 widget = $notebook-E<gt>B<get_tab_label> ($child)
=over
=item * $child (Gtk2::Widget)
=back
=head2 $notebook-E<gt>B<set_tab_label_packing> ($child, $expand, $fill, $pack_type)
=over
=item * $child (Gtk2::Widget)
=item * $expand (boolean)
=item * $fill (boolean)
=item * $pack_type (Gtk2::PackType)
=back
=head2 $notebook-E<gt>B<set_tab_label> ($child, $tab_label=undef)
=over
=item * $child (Gtk2::Widget)
=item * $tab_label (Gtk2::Widget or undef)
=back
=head2 string = $notebook-E<gt>B<get_tab_label_text> ($child)
=over
=item * $child (Gtk2::Widget)
=back
=head2 $notebook-E<gt>B<set_tab_label_text> ($child, $tab_text)
=over
=item * $child (Gtk2::Widget)
=item * $tab_text (string)
=back
=head2 positiontype = $notebook-E<gt>B<get_tab_pos>
=head2 $notebook-E<gt>B<set_tab_pos> ($pos)
=over
=item * $pos (Gtk2::PositionType)
=back
=head2 boolean = $notebook-E<gt>B<get_tab_reorderable> ($child)
=over
=item * $child (Gtk2::Widget)
=back
Since: gtk+ 2.10
=head2 $notebook-E<gt>B<set_tab_reorderable> ($child, $reorderable)
=over
=item * $child (Gtk2::Widget)
=item * $reorderable (boolean)
=back
Since: gtk+ 2.10
=head2 unsigned = $notebook-E<gt>B<get_tab_vborder>
Since: gtk+ 2.22
=head2 $notebook-E<gt>B<set_tab_vborder> ($tab_vborder)
=over
=item * $tab_vborder (integer)
=back
=head2 Gtk2::Notebook-E<gt>B<set_window_creation_hook> ($func, $data=undef)
=over
=item * $func (scalar)
=item * $data (scalar)
=back
Since: gtk+ 2.10
=cut
=head1 PROPERTIES
=over
=item 'enable-popup' (boolean : default false : readable / writable / private)
If TRUE, pressing the right mouse button on the notebook pops up a menu that you can use to go to a page
=item 'group' (gpointer : default 0 : readable / writable / private)
Group for tabs drag and drop
=item 'group-id' (integer : default -1 : readable / writable / private)
Group ID for tabs drag and drop
=item 'group-name' (string : default undef : readable / writable / private)
Group name for tabs drag and drop
=item 'homogeneous' (boolean : default false : readable / writable / private)
Whether tabs should have homogeneous sizes
=item 'page' (integer : default -1 : readable / writable / private)
The index of the current page
=item 'scrollable' (boolean : default false : readable / writable / private)
If TRUE, scroll arrows are added if there are too many tabs to fit
=item 'show-border' (boolean : default true : readable / writable / private)
Whether the border should be shown or not
=item 'show-tabs' (boolean : default true : readable / writable / private)
Whether tabs should be shown or not
=item 'tab-border' (Glib::UInt : default 2 : writable / private)
Width of the border around the tab labels
=item 'tab-hborder' (Glib::UInt : default 2 : readable / writable / private)
Width of the horizontal border of tab labels
=item 'tab-pos' (Gtk2::PositionType : default "top" : readable / writable / private)
Which side of the notebook holds the tabs
=item 'tab-vborder' (Glib::UInt : default 2 : readable / writable / private)
Width of the vertical border of tab labels
=back
=cut
=head1 CHILD PROPERTIES
=over
=item 'detachable' (boolean : default false : readable / writable / private)
Whether the tab is detachable
=item 'menu-label' (string : default undef : readable / writable / private)
The string displayed in the child's menu entry
=item 'position' (integer : default 0 : readable / writable / private)
The index of the child in the parent
=item 'reorderable' (boolean : default false : readable / writable / private)
Whether the tab is reorderable by user action or not
=item 'tab-expand' (boolean : default false : readable / writable / private)
Whether to expand the child's tab or not
=item 'tab-fill' (boolean : default true : readable / writable / private)
Whether the child's tab should fill the allocated area or not
=item 'tab-label' (string : default undef : readable / writable / private)
The string displayed on the child's tab label
=item 'tab-pack' (Gtk2::PackType : default "start" : readable / writable / private)
A GtkPackType indicating whether the child is packed with reference to the start or end of the parent
=back
=cut
=head1 STYLE PROPERTIES
=over
=item 'arrow-spacing' (integer : default 0 : readable / private)
Scroll arrow spacing
=item 'has-backward-stepper' (boolean : default true : readable / private)
Display the standard backward arrow button
=item 'has-forward-stepper' (boolean : default true : readable / private)
Display the standard forward arrow button
=item 'has-secondary-backward-stepper' (boolean : default false : readable / private)
Display a second backward arrow button on the opposite end of the tab area
=item 'has-secondary-forward-stepper' (boolean : default false : readable / private)
Display a second forward arrow button on the opposite end of the tab area
=item 'tab-curvature' (integer : default 1 : readable / private)
Size of tab curvature
=item 'tab-overlap' (integer : default 2 : readable / private)
Size of tab overlap area
=back
=cut
=head1 SIGNALS
=over
=item boolean = B<change-current-page> (Gtk2::Notebook, integer)
=item Gtk2::Notebook = B<create-window> (Gtk2::Notebook, Gtk2::Widget, integer, integer)
=item boolean = B<focus-tab> (Gtk2::Notebook, Gtk2::NotebookTab)
=item B<move-focus-out> (Gtk2::Notebook, Gtk2::DirectionType)
=item B<page-added> (Gtk2::Notebook, Gtk2::Widget, Glib::UInt)
=item B<page-removed> (Gtk2::Notebook, Gtk2::Widget, Glib::UInt)
=item B<page-reordered> (Gtk2::Notebook, Gtk2::Widget, Glib::UInt)
=item boolean = B<reorder-tab> (Gtk2::Notebook, Gtk2::DirectionType, boolean)
=item boolean = B<select-page> (Gtk2::Notebook, boolean)
=item B<switch-page> (Gtk2::Notebook, gpointer, Glib::UInt)
=back
=cut
=head1 ENUMS AND FLAGS
=head2 enum Gtk2::DirectionType
=over
=item * 'tab-forward' / 'GTK_DIR_TAB_FORWARD'
=item * 'tab-backward' / 'GTK_DIR_TAB_BACKWARD'
=item * 'up' / 'GTK_DIR_UP'
=item * 'down' / 'GTK_DIR_DOWN'
=item * 'left' / 'GTK_DIR_LEFT'
=item * 'right' / 'GTK_DIR_RIGHT'
=back
=head2 enum Gtk2::NotebookTab
=over
=item * 'first' / 'GTK_NOTEBOOK_TAB_FIRST'
=item * 'last' / 'GTK_NOTEBOOK_TAB_LAST'
=back
=head2 enum Gtk2::PackType
=over
=item * 'start' / 'GTK_PACK_START'
=item * 'end' / 'GTK_PACK_END'
=back
=head2 enum Gtk2::PositionType
=over
=item * 'left' / 'GTK_POS_LEFT'
=item * 'right' / 'GTK_POS_RIGHT'
=item * 'top' / 'GTK_POS_TOP'
=item * 'bottom' / 'GTK_POS_BOTTOM'
=back
=cut
=head1 SEE ALSO
L<Gtk2>, L<Glib::Object>, L<Glib::InitiallyUnowned>, L<Gtk2::Object>, L<Gtk2::Widget>, L<Gtk2::Container>
=cut
=head1 COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team.
This software is licensed under the LGPL. See L<Gtk2> for a full notice.
=cut
|