GRASS Programmer's Manual  6.4.4(2014)-r
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 (self, event)
 Shows/Hides extent (comp. More...
 
def SetValue (self, value)
 
- Public Member Functions inherited from statusbar.SbItem
def __init__
 
def Show (self)
 Invokes showing of underlying widget. More...
 
def Hide (self)
 
def SetValue (self, value)
 
def GetValue (self)
 
def GetPosition (self)
 
def GetWidget (self)
 Returns underlaying winget. More...
 
def Update (self)
 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: