Module dui.Notebook
| Constructor Summary | |
|---|---|
| public |
(GtkWidget* gtkWidget) |
| public |
() Creates a new notebook |
| Methods Summary | |
|---|---|
| protected alias |
EventHandler11!(Notebook , uint ) |
| void |
addOnSwitchPage(void delegate(Notebook, uint) dlg) |
| void |
setTabPos(PositionType tabPos) Sets the tab positions |
| PositionType |
getTabPos() Gets the current tab position |
| void |
appendPage(Widget child, char str) Appends a new page to the notebook |
| void |
appendPage(Widget child, String str) |
| void |
appendPage(Widget child, Widget tabLabel) Appens a new page to the notebook |
| void |
appendPageMenu(Widget child, Widget tabLabel, Widget menuLabel) Appends a new page witha menu to the notebook |
| void |
popupEnable() Enables the popup menu |
| void |
setShowBorder(bit showBorder) Set the border visibility |
| gboolean |
getShowBorder() Gets the border visibility |
| void |
setShowTabs(bit showTabs) Sets the tabs visibility |
| gboolean |
getShowTabs() Gets the tabs visibility |
| void |
removePage(gint pageNumber) |
| gint |
getCurrentPage() ********************************************************* query, set current NoteebookPage * ********************************************************* Gets the current page number |
| Widget |
getNthPage(gint pageNumber) Gets the widget on a page |
| gint |
getNPages() Gets the total number of page on this notebook |
| gint |
pageNum(Widget child) Gets the page number for a widget |
| void |
setCurrentPage(int pageNumber) Sets this notebook current page |
| void |
setCurrentPage(Widget child) |
| void |
nextPage() Sets the next page as the current page |
| void |
prevPage() Sets the previous page as the current page |
| void |
setScrollable(bit scrollable) ********************************************************* set Notebook, NotebookTab style * ********************************************************* Sets the scrollabe mode |
| bit |
getScrollable() Gets the scrollable mode |
| void |
popupDisable() ********************************************************* enable/disable PopupMenu * ********************************************************* Disables the popup menu |
| void |
popupEnable(bit enabled) Enables the popup menu |
| Widget |
getTabLabel(Widget child) ********************************************************* query/set NotebookPage Properties * ********************************************************* Gets the tab label from the tab that contains a widget |
| void |
setTabLabel(Widget child, Widget tabLabel) Sets the tab label widget for a tab that contains a widget |
| void |
setTabLabelText(Widget child, char tabText) Sets the tab label text |
| String |
getTabLabelText(Widget child) Gets the tab label text for a tab that contains a specific child |
| Widget |
getMenuLabel(Widget child) Gets the menu for the tab containing a widget |
| void |
setMenuLabel(Widget child, Widget menuLabel) Sets the menu for the tab containing a widget |
| void |
setMenuLabelText(Widget child, String menuText) Sets the menu label text for the tab containing a widget |
| String |
getMenuLabelText(Widget child) |