GRASS Programmer's Manual  6.4.4(2014)-r
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 (self)
 
def ReprojectENFromMap (self, e, n, useDefinedProjection, precision, format)
 Reproject east, north to user defined projection. More...
 
- Public Member Functions inherited from statusbar.SbTextItem
def __init__
 
def Show (self)
 
def Hide (self)
 
def SetValue (self, value)
 
def GetValue (self)
 
def GetWidget (self)
 
def Update (self)
 
- 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
 
- 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: