GRASS Programmer's Manual  6.4.4(2014)-r
statusbar.SbMapScale Class Reference

Editable combobox to get/set current map scale. More...

Inheritance diagram for statusbar.SbMapScale:
Collaboration diagram for statusbar.SbMapScale:

Public Member Functions

def __init__
 
def Update (self)
 
def OnChangeMapScale (self, event)
 Map scale changed by user. More...
 
- 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
 
 lastMapScale
 
- Data Fields inherited from statusbar.SbItem
 mapFrame
 
 statusbar
 
 position
 

Detailed Description

Editable combobox to get/set current map scale.

Requires MapFrame.GetMapScale, MapFrame.SetMapScale and MapFrame.GetWindow (and GetWindow().UpdateMap()).

Definition at line 474 of file statusbar.py.

Constructor & Destructor Documentation

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

Definition at line 480 of file statusbar.py.

Member Function Documentation

def statusbar.SbMapScale.OnChangeMapScale (   self,
  event 
)

Field Documentation

statusbar.SbMapScale.label

Definition at line 483 of file statusbar.py.

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

statusbar.SbMapScale.lastMapScale
statusbar.SbMapScale.name

Definition at line 482 of file statusbar.py.

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

statusbar.SbMapScale.widget

Definition at line 485 of file statusbar.py.

Referenced by statusbar.SbItem.GetWidget().


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