GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
widgets.GNotebook Class Reference

Generic notebook widget. More...

Inheritance diagram for widgets.GNotebook:
Collaboration diagram for widgets.GNotebook:

Public Member Functions

def __init__
 
def AddPage
 Add a page. More...
 
def InsertPage
 Insert a new page. More...
 
def SetSelectionByName
 Set notebook. More...
 
def GetPageIndexByName
 Get notebook page index. More...
 

Data Fields

 notebookPages
 

Detailed Description

Generic notebook widget.

Definition at line 53 of file widgets.py.

Constructor & Destructor Documentation

def widgets.GNotebook.__init__ (   self,
  parent,
  style,
  kwargs 
)

Definition at line 56 of file widgets.py.

Member Function Documentation

def widgets.GNotebook.AddPage (   self,
  kwargs 
)

Add a page.

Definition at line 64 of file widgets.py.

References widgets.GNotebook.notebookPages.

def widgets.GNotebook.GetPageIndexByName (   self,
  page 
)

Get notebook page index.

Parameters
pagename

Definition at line 89 of file widgets.py.

References widgets.GNotebook.notebookPages.

Referenced by widgets.GNotebook.SetSelectionByName().

def widgets.GNotebook.InsertPage (   self,
  kwargs 
)

Insert a new page.

Definition at line 72 of file widgets.py.

References widgets.GNotebook.notebookPages.

def widgets.GNotebook.SetSelectionByName (   self,
  page 
)

Set notebook.

Parameters
pagenames, eg. 'layers', 'output', 'search', 'pyshell', 'nviz'

Definition at line 80 of file widgets.py.

References widgets.GNotebook.GetPageIndexByName(), ghelp.SearchModuleWindow.GetSelection(), gis_set.GListBox.GetSelection(), ghelp.SearchModuleWindow.SetSelection(), and gis_set.GListBox.SetSelection().

Field Documentation

widgets.GNotebook.notebookPages

The documentation for this class was generated from the following file: