GRASS Programmer's Manual  6.5.svn(2012)-r51648
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
widgets.GNotebook Class Reference

Generic notebook widget. More...

Public Member Functions

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

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


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