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

Show map coordinates when mouse moves. More...

Inheritance diagram for statusbar.SbCoordinates:
Collaboration diagram for statusbar.SbCoordinates:

Public Member Functions

def __init__
 
def Show
 
def ReprojectENFromMap
 Reproject east, north to user defined projection. More...
 
- Public Member Functions inherited from statusbar.SbTextItem
def __init__
 
def Show
 
def Hide
 
def SetValue
 
def GetValue
 
def GetWidget
 
def Update
 
- 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
 
- Data Fields inherited from statusbar.SbTextItem
 text
 
- Data Fields inherited from statusbar.SbItem
 mapFrame
 
 statusbar
 
 position
 

Detailed Description

Show map coordinates when mouse moves.

Requires MapWindow.GetLastEN method.

Definition at line 773 of file statusbar.py.

Constructor & Destructor Documentation

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

Definition at line 777 of file statusbar.py.

Member Function Documentation

def statusbar.SbCoordinates.ReprojectENFromMap (   self,
  e,
  n,
  useDefinedProjection,
  precision,
  format 
)

Reproject east, north to user defined projection.

Parameters
e,ncoordinate
Exceptions
SbExceptionif useDefinedProjection is True and projection is not defined in UserSettings

Definition at line 799 of file statusbar.py.

References utils.Deg2DMS(), and utils.ReprojectCoordinates().

Referenced by statusbar.SbCoordinates.Show().

Field Documentation

statusbar.SbCoordinates.label

Definition at line 780 of file statusbar.py.

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

statusbar.SbCoordinates.name

Definition at line 779 of file statusbar.py.

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


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