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

Checkbox to enable and disable showing of computational region. More...

Inheritance diagram for statusbar.SbShowRegion:
Collaboration diagram for statusbar.SbShowRegion:

Public Member Functions

def __init__
 
def OnToggleShowRegion
 Shows/Hides extent (comp. More...
 
def SetValue
 
- Public Member Functions inherited from statusbar.SbItem
def __init__
 
def Show
 Invokes showing of underlying widget. More...
 
def Hide
 
def SetValue
 
def GetValue
 
def GetPosition
 
def GetWidget
 Returns underlaying winget. More...
 
def Update
 Called when statusbar action is activated (e.g. More...
 

Data Fields

 name
 
 label
 
 widget
 
- Data Fields inherited from statusbar.SbItem
 mapFrame
 
 statusbar
 
 position
 

Detailed Description

Checkbox to enable and disable showing of computational region.

Requires MapFrame.OnRender, MapFrame.IsAutoRendered, MapFrame.GetWindow. Expects that instance returned by MapFrame.GetWindow will handle regionCoords attribute.

Definition at line 375 of file statusbar.py.

Constructor & Destructor Documentation

def statusbar.SbShowRegion.__init__ (   self,
  mapframe,
  statusbar,
  position = 0 
)

Definition at line 382 of file statusbar.py.

Member Function Documentation

def statusbar.SbShowRegion.OnToggleShowRegion (   self,
  event 
)

Shows/Hides extent (comp.

region) in map canvas.

Shows or hides according to checkbox value.

Definition at line 401 of file statusbar.py.

Field Documentation

statusbar.SbShowRegion.label

Definition at line 385 of file statusbar.py.

Referenced by python.task.grassTask.get_description().

statusbar.SbShowRegion.name

Definition at line 384 of file statusbar.py.

Referenced by python.task.grassTask.get_cmd(), and python.task.grassTask.get_name().

statusbar.SbShowRegion.widget

Definition at line 387 of file statusbar.py.

Referenced by statusbar.SbItem.GetWidget().


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