GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
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
 
def OnChangeMapScale
 Map scale changed by user. More...
 
- 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
 
 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: