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

Creates combo box for selecting columns in the attribute table for a vector map. More...

Inheritance diagram for gselect.ColumnSelect:
Collaboration diagram for gselect.ColumnSelect:

Public Member Functions

def __init__
 
def InsertColumns
 Insert columns for a vector attribute table into the columns combobox. More...
 
def InsertTableColumns
 Insert table columns. More...
 

Data Fields

 defaultValue
 
 param
 

Detailed Description

Creates combo box for selecting columns in the attribute table for a vector map.

Parameters
parentwindow parent
idwindow id
valuedefault value
sizewindow size
vectorvector map name
layerlayer number
paramparameters list (see menuform.py)
**kwagswx.ComboBox parameters

Definition at line 781 of file gselect.py.

Constructor & Destructor Documentation

def gselect.ColumnSelect.__init__ (   self,
  parent,
  id = wx.ID_ANY,
  value = '',
  size = globalvar.DIALOG_COMBOBOX_SIZE,
  vector = None,
  layer = 1,
  param = None,
  kwargs 
)

Definition at line 796 of file gselect.py.

Member Function Documentation

def gselect.ColumnSelect.InsertColumns (   self,
  vector,
  layer,
  excludeKey = False,
  excludeCols = None,
  type = None,
  dbInfo = None 
)

Insert columns for a vector attribute table into the columns combobox.

Parameters
vectorvector name
layervector layer number
excludeKeyexclude key column from the list?
excludeColslist of columns to be removed from the list
typeonly columns of given type (given as list)

Definition at line 806 of file gselect.py.

References gselect.ColumnSelect.defaultValue, gselect.ColumnSelect.param, model.ModelRelation.param, model.ModelLoop.SetItems(), model.ModelCondition.SetItems(), widgets.FloatSlider.SetValue(), statusbar.SbItem.SetValue(), statusbar.SbShowRegion.SetValue(), statusbar.SbTextItem.SetValue(), statusbar.SbProgress.SetValue(), model.ModelData.SetValue(), and dialogs.TextEntryDialog.SetValue().

def gselect.ColumnSelect.InsertTableColumns (   self,
  table,
  driver = None,
  database = None 
)

Field Documentation

gselect.ColumnSelect.defaultValue
gselect.ColumnSelect.param

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