GRASS Programmer's Manual  6.4.2(2012)
gui_modules.gselect.Select Class Reference
Inheritance diagram for gui_modules.gselect.Select:

Public Member Functions

def __init__
 Custom control to create a ComboBox with a tree control to display and select GIS elements within acessible mapsets.
def OnKeyUp
 Shows popupwindow if down arrow key is released.
def SetElementList
 Set element list.
def GetElementList
 Load elements.
def SetType
 Param set element type for widget.

Data Fields

 tcp

Detailed Description

Definition at line 55 of file gselect.py.


Constructor & Destructor Documentation

def gui_modules.gselect.Select.__init__ (   self,
  parent,
  id = wx.ID_ANY,
  size = globalvar.DIALOG_GSELECT_SIZE,
  type = None,
  multiple = False,
  mapsets = None,
  updateOnPopup = True,
  onPopup = None 
)

Custom control to create a ComboBox with a tree control to display and select GIS elements within acessible mapsets.

Elements can be selected with mouse. Can allow multiple selections, when argument multiple=True. Multiple selections are separated by commas.

Parameters:
typetype of GIS elements ('raster, 'vector', ...)
multiplemultiple input allowed?
mapsetsforce list of mapsets (otherwise search path)
updateOnPopupTrue for updating list of elements on popup
onPopupfunction to be called on Popup

Definition at line 56 of file gselect.py.


Member Function Documentation

Load elements.

Definition at line 99 of file gselect.py.

Referenced by gui_modules.gselect.TreeCtrlComboPopup.OnPopup().

def gui_modules.gselect.Select.OnKeyUp (   self,
  event 
)

Shows popupwindow if down arrow key is released.

Definition at line 84 of file gselect.py.

def gui_modules.gselect.Select.SetElementList (   self,
  type,
  mapsets = None 
)

Set element list.

Parameters:
typeGIS element type
mapsetslist of acceptable mapsets (None for all in search path)

Definition at line 91 of file gselect.py.

def gui_modules.gselect.Select.SetType (   self,
  etype,
  multiple = False,
  mapsets = None,
  updateOnPopup = True,
  onPopup = None 
)

Param set element type for widget.

Parameters:
etypeelement type, see gselect.ElementSelect

Definition at line 103 of file gselect.py.


Field Documentation

Definition at line 67 of file gselect.py.


The documentation for this class was generated from the following file:
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Defines