OxyScripts.com
Menu spacer Home Tutorials Articles Code Forums irc.freenode.net #oxyscripts
Main (PHP)
Home Forums PHP News PHP Tutorials Articles PHP Code Snippets Contact Us Sysadmin Resources Books Template Shop
3rd Party Streams
SlashDot PHPDeveloper.org PHP.Net
Resources
PHP Manual MySQL Manual Smarty Manual PEAR Manual PHP-GTK Manual Symfony Manual
Code Snippets
Authentication Database Graphics HTTP Miscellaneous Time/Date
Affiliates
Scripts TutorialMan TutorialGuide CodingForums.com PHP Scripts Cheap Web Hosting Affordable Web Hosting Dreamweaver Templates

Search This Site :     PHP Function Reference :
 
GtkNotebook

GtkNotebook

Widget that displays a set of pages with tabs.

Object Hierarchy

GtkObject
`-- GtkWidget
       `-- GtkContainer
              `-- GtkNotebook

Direct subclasses

Description

GtkNotebook is a widget which displays its children widgets in a stacked manner. Each child has a tab which is visible no matter when in the stack the child is. A child can be brought to the top of the stack by clicking on that child's tab. A text editor which allows a user to edit multiple documents at once might make good use of GtkNotebook.

Constructor

GtkNotebook (void);
-- Creates a new GtkNotebook object.

Methods

append_page()
  Add a page to the back of the note book.
append_page_menu()
  Appends a page to the notebook, specifying the widget to use as the label in the popup menu.
prepend_page()
  Add a page to the begining of the note book.
prepend_page_menu()
  Prepends a page to the notebook, specifying the widget to use as the label in the popup menu.
insert_page()
  Add a page to the notebook in the given position.
insert_page_menu()
  Inserts a page into the notebook at the given position, specifying the widget to use as the label in the popup menu.
remove_page()
  Remove the page at the given position from the notebook.
get_current_page()
  Return the index of the current page.
get_nth_page()
  Returns the page in the given position.
page_num()
  Returns the position of the given child widget.
set_page()
  Sets the page in the given position as the top page in the notebook.
next_page()
  Moves the next page in the notebook to the top.
prev_page()
  Moves the previous page in the notebook to the top.
set_show_border()
  Set whether a bevel will be drawn around the notebook pages.
set_show_tabs()
  Set whether or not to show the page tabs.
set_tab_pos()
  Set the edge on which the notebook tabs will be displayed.
set_homogeneous_tabs()
  Set whether or not all tabs should be the same width.
set_tab_border()
  Sets the border around all edges of the notebook's tabs.
set_tab_hborder()
  Sets the border for the left and right sides of the notebook's tabs.
set_tab_vborder()
  Sets the border for the top and bottom sides of the notebook's tabs.
set_scrollable()
  Set whether the tab label area will allow scrolling.
popup_enable()
  Enable the popup menu.
popup_disable()
  Disable the popup menu.
get_tab_label()
  Get the tab's label widget.
set_tab_label()
  Set the tab widget of the given child.
set_tab_label_text()
  Create a new label and set it as the tab label for the given child.
get_menu_label()
  Get the popup menu label for a notebook page.
set_menu_label()
  Set the popup menu label for a notebook page.
set_menu_label_text()
  Set the popup menu label text for a notebook page.
set_tab_label_packing()
  Set how the popup menu label for a page will be packed.
reorder_child()
  Move a page to a given position.

Signals

"clicked"
  Emitted when a tab is clicked by the user.
"switch-page"
  Emitted when the top page of the notebook is changed.

 
   Print this page

Top Sponsor
Symantec\'s Norton SystemWorks 2006
Sponsors
CA
Sponsors
AdWords Dominator 125*125
Advertisting

Affiliates
VertexTemplates PHPFreaks CodeWalkers StarGeek DevScripts CGI & PHP Scripts PHP CMS

Shopping Rebates   Sell It 4 You   Flash Page Counters   Get Insured
GPS Tracking Service   Charity Donate Info   Web Site Hosting   VOIP Service

Privacy Policy | Links | Site Map | Advertising

All content on OxyScripts.com is (©)2002-2007

 
Powered by Adrastea - Version 1.0.0. Copyright © Rune Solutions, 2004-2005