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

Textctrl to set coordinates which to focus on. More...

Inheritance diagram for statusbar.SbGoTo:
Collaboration diagram for statusbar.SbGoTo:

Public Member Functions

def __init__
def ReprojectENToMap
 Reproject east, north from user defined projection. More...
def OnGoTo
 Go to position. More...
def GetCenterString
 Get current map center in appropriate format. More...
def SetCenter
 Set current map center as item value. More...
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

- Data Fields inherited from statusbar.SbItem

Detailed Description

Textctrl to set coordinates which to focus on.

Requires MapFrame.GetWindow, MapWindow.GoTo method.

Definition at line 541 of file

Constructor & Destructor Documentation

def statusbar.SbGoTo.__init__ (   self,
  position = 0 

Definition at line 547 of file

Member Function Documentation

def statusbar.SbGoTo.GetCenterString (   self,

Get current map center in appropriate format.

Definition at line 624 of file

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

Referenced by statusbar.SbGoTo.SetCenter().

def statusbar.SbGoTo.ReprojectENToMap (   self,

Reproject east, north from user defined projection.

e,ncoordinate (for DMS string, else float or string)
useDefinedProjectionprojection defined by user in settings dialog
SbExceptionif useDefinedProjection is True and projection is not defined in UserSettings

Definition at line 560 of file

References utils.DMS2Deg(), utils.ReprojectCoordinates(), gcmd.RunCommand(), and utils.split().

Referenced by statusbar.SbGoTo.OnGoTo().

def statusbar.SbGoTo.SetCenter (   self)

Field Documentation


Definition at line 550 of file

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

Definition at line 549 of file

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


Definition at line 552 of file

Referenced by statusbar.SbItem.GetWidget().

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