GRASS Programmer's Manual  6.4.4(2014)-r
widgets.GNotebook Class Reference

Generic notebook widget. More...

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

Public Member Functions

def __init__ (self, parent, style, kwargs)
 
def AddPage (self, kwargs)
 Add a page. More...
 
def InsertPage (self, kwargs)
 Insert a new page. More...
 
def SetSelectionByName (self, page)
 Set notebook. More...
 
def GetPageIndexByName (self, page)
 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: