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

Creates combo box for selecting data layers defined for vector. More...

Public Member Functions

def __init__
def InsertLayers
 Insert layers for a vector into the layer combobox.
def Reset
 Reset value.

Data Fields

 parent
 initial
 default

Detailed Description

Creates combo box for selecting data layers defined for vector.

Definition at line 657 of file gselect.py.


Constructor & Destructor Documentation

def gselect.LayerSelect.__init__ (   self,
  parent,
  id = wx.ID_ANY,
  pos = wx.DefaultPosition,
  size = globalvar.DIALOG_LAYER_SIZE,
  vector = None,
  choices = [],
  initial = [],
  default = None 
)

Definition at line 663 of file gselect.py.


Member Function Documentation

def gselect.LayerSelect.InsertLayers (   self,
  vector 
)

Insert layers for a vector into the layer combobox.

Parameters:
vectorname of vector map

Definition at line 678 of file gselect.py.

References gselect.LayerSelect.default, utils.GetVectorNumberOfLayers(), gselect.LayerSelect.initial, model.ModelLoop.SetItems(), and model.ModelCondition.SetItems().


Field Documentation


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