|
GRASS Programmer's Manual
6.5.svn(2012)-r51648
|
Show map coordinates when mouse moves. More...


Public Member Functions | |
| def | __init__ |
| def | Show |
| Invokes showing of underlying widget. | |
| def | ReprojectENFromMap |
| Reproject east, north to user defined projection. | |
Data Fields | |
| name | |
| label | |
Show map coordinates when mouse moves.
Requires MapWindow.GetLastEN method.
Definition at line 772 of file statusbar.py.
| def statusbar.SbCoordinates.__init__ | ( | self, | |
| mapframe, | |||
| statusbar, | |||
position = 0 |
|||
| ) |
| mapframe | instance of class with MapFrame interface |
| statusbar | statusbar instance (wx.Statusbar) |
| position | item position in statusbar |
Reimplemented from statusbar.SbTextItem.
Definition at line 776 of file statusbar.py.
| def statusbar.SbCoordinates.ReprojectENFromMap | ( | self, | |
| e, | |||
| n, | |||
| useDefinedProjection, | |||
| precision, | |||
| format | |||
| ) |
Reproject east, north to user defined projection.
| e,n | coordinate |
| SbException | if useDefinedProjection is True and projection is not defined in UserSettings |
Definition at line 798 of file statusbar.py.
References utils.Deg2DMS(), and utils.ReprojectCoordinates().
Referenced by statusbar.SbCoordinates.Show().
| def statusbar.SbCoordinates.Show | ( | self | ) |
Invokes showing of underlying widget.
In derived classes it can do what is appropriate for it, e.g. showing text on statusbar (only).
Reimplemented from statusbar.SbTextItem.
Definition at line 781 of file statusbar.py.
References statusbar.SbCoordinates.ReprojectENFromMap(), widgets.FloatSlider.SetValue(), statusbar.SbItem.SetValue(), and model.ModelData.SetValue().
Definition at line 779 of file statusbar.py.
Referenced by python.task.grassTask.get_description().
Definition at line 778 of file statusbar.py.
Referenced by python.task.grassTask.get_cmd(), and python.task.grassTask.get_name().