Class Index | Cross Index | Namespace Index |
A container which shows only one of it's children at a time, normally subwindows.
Contained in: Gtk
Derived from:
Gtk::Container
Derived by:
Gtk::FontSelection
#include <gtk--/notebook.h>
public function member index: |
||
Notebook | (); | |
void | append_page | (Widget& p0, Widget& p1); |
Page* | get_current | () const; |
Widget* | get_current_child | (); |
gint | get_current_page_num | () const; |
Widget* | get_nth_page | (gint page_number); |
bool | get_show_border | () const; |
bool | get_show_tabs | () const; |
GtkPositionType | get_tab_pos | () const; |
GtkNotebook* | gtkobj | (); |
const GtkNotebook* | gtkobj | () const; |
static bool | isA | (Object* object); |
void | next_page | (); |
gint | page_num | (const Widget& child); |
PageList& | pages | (); |
const PageList& | pages | () const; |
void | popup_disable | (); |
void | popup_enable | (); |
void | prepend_page | (Widget& p0, Widget& p1); |
void | prev_page | (); |
void | set_homogeneous_tabs | (bool homogeneous); |
void | set_page | (gint page_number); |
void | set_scrollable | (bool scrollable); |
void | set_show_border | (bool show_border); |
void | set_show_tabs | (bool show_tabs); |
void | set_tab_border | (gint border_width); |
void | set_tab_hborder | (guint tab_hborder); |
void | set_tab_pos | (GtkPositionType pos); |
void | set_tab_vborder | (guint tab_vborder); |
emitable signal void | switch_page | (Page*, guint); |
virtual | ~Notebook | (); |
protected function member index: |
||
virtual void | switch_page_impl | (Page* p0, guint p1); |
Returns: The page number.
page_num: The page number. Returns: The content of the page.
child: The child. Returns: The page number, or -1 if child is not in notebook.
If the user clicks with the right mouse button on the bookmarks, a menu with all the pages will be popped up.
Negative values stand for the last page; too large values are ignored.page_num: The page number.