Pike v8.0 release 1738

Class GTK1.Notebook

Inheritance graph
Description

The NoteBook Widget is a collection of 'pages' that overlap each other, each page contains different information. This widget has become more common lately in GUI programming, and it is a good way to show blocks similar information that warrant separation in their display.

 GTK1.Notebook( )->set_tab_pos( GTK1.POS_LEFT )->append_page( GTK1.Label("Page 1\nContents"), GTK1.Label("Page 1"))->append_page( GTK1.Label(""), GTK1.Label("Page 2"))->append_page(GTK1.Label("Page 3 contents\nare here!"), GTK1.Label("Page 3"))

 GTK1.Notebook( )->set_tab_pos( GTK1.POS_TOP )->append_page( GTK1.Label("Page 1\nContents"), GTK1.Label("Page 1"))->append_page( GTK1.Label(""), GTK1.Label("Page 2"))->append_page(GTK1.Label("Page 3 contents\nare here!"), GTK1.Label("Page 3"))

 GTK1.Notebook( )->set_tab_pos( GTK1.POS_RIGHT )->append_page( GTK1.Label("Page 1\nContents"), GTK1.Label("Page 1"))->append_page( GTK1.Label(""), GTK1.Label("Page 2"))->append_page(GTK1.Label("Page 3 contents\nare here!"), GTK1.Label("Page 3"))->next_page()->next_page()

Signals: switch_page Called when a different page is selected


Inherit Container

inherit GTK1.Container : Container


Method create

GTK1.Notebook GTK1.Notebook()