GRASS Programmer's Manual  6.5.svn(2012)-r51648
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
statusbar.SbGoToGCP Class Reference

SpinCtrl to select GCP to focus on. More...

Inheritance diagram for statusbar.SbGoToGCP:
Collaboration diagram for statusbar.SbGoToGCP:

Public Member Functions

def __init__
def OnGoToGCP
 Zooms to given GCP.
def Update
 Called when statusbar action is activated (e.g.

Data Fields

 name
 label
 widget

Detailed Description

SpinCtrl to select GCP to focus on.

Requires MapFrame.GetSrcWindow, MapFrame.GetTgtWindow, MapFrame.GetListCtrl, MapFrame.GetMapCoordList.

Definition at line 967 of file statusbar.py.


Constructor & Destructor Documentation

def statusbar.SbGoToGCP.__init__ (   self,
  mapframe,
  statusbar,
  position = 0 
)
Parameters:
mapframeinstance of class with MapFrame interface
statusbarstatusbar instance (wx.Statusbar)
positionitem position in statusbar
Todo:
rewrite Update also in derived classes to take in account item position

Reimplemented from statusbar.SbItem.

Definition at line 974 of file statusbar.py.


Member Function Documentation

Called when statusbar action is activated (e.g.

through wx.Choice).

Reimplemented from statusbar.SbItem.

Definition at line 1034 of file statusbar.py.

References statusbar.SbItem.Show().

Referenced by wizard.DatumPage.OnDText(), colorrules.VectorColorTable.OnLayerSelection(), manager.GroupPage.OnMkGroup(), and mapwindow.BufferedWindow.TextBounds().


Field Documentation

Definition at line 979 of file statusbar.py.

Referenced by statusbar.SbItem.GetWidget().


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