GRASS Programmer's Manual
6.4.2(2012)
|
Generic notebook widget. More...
Public Member Functions | |
def | __init__ |
def | AddPage |
Add a page. | |
def | SetSelectionByName |
Set notebook. | |
def | GetPageIndexByName |
Get notebook page index. | |
Data Fields | |
notebookPages |
Generic notebook widget.
Definition at line 1898 of file menuform.py.
def gui_modules.menuform.GNotebook.__init__ | ( | self, | |
parent, | |||
style, | |||
kwargs | |||
) |
Definition at line 1901 of file menuform.py.
def gui_modules.menuform.GNotebook.AddPage | ( | self, | |
kwargs | |||
) |
Add a page.
Definition at line 1909 of file menuform.py.
References gui_modules.menuform.GNotebook.notebookPages.
def gui_modules.menuform.GNotebook.GetPageIndexByName | ( | self, | |
page | |||
) |
Get notebook page index.
page | name |
Definition at line 1926 of file menuform.py.
References gui_modules.menuform.GNotebook.notebookPages.
Referenced by gui_modules.menuform.GNotebook.SetSelectionByName().
def gui_modules.menuform.GNotebook.SetSelectionByName | ( | self, | |
page | |||
) |
Set notebook.
page | names, eg. 'layers', 'output', 'search', 'pyshell', 'nviz' |
Definition at line 1917 of file menuform.py.
References gui_modules.menuform.GNotebook.GetPageIndexByName(), gui_modules.ghelp.SearchModuleWindow.GetSelection(), gis_set.GListBox.GetSelection(), gui_modules.ghelp.SearchModuleWindow.SetSelection(), and gis_set.GListBox.SetSelection().
Definition at line 1901 of file menuform.py.
Referenced by gui_modules.menuform.GNotebook::AddPage(), and gui_modules.menuform.GNotebook::GetPageIndexByName().