GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Creates combo box for selecting columns in the attribute table for a vector map. More...
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 | |
Creates combo box for selecting columns in the attribute table for a vector map.
parent | window parent |
id | window id |
value | default value |
size | window size |
vector | vector map name |
layer | layer number |
param | parameters list (see menuform.py) |
**kwags | wx.ComboBox parameters |
Definition at line 781 of file gselect.py.
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.
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.
vector | vector name |
layer | vector layer number |
excludeKey | exclude key column from the list? |
excludeCols | list of columns to be removed from the list |
type | only 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 |
|||
) |
Insert table columns.
table | table name |
driver | driver name |
database | database name |
Definition at line 849 of file gselect.py.
References gselect.ColumnSelect.defaultValue, gselect.ColumnSelect.param, model.ModelRelation.param, gcmd.RunCommand(), 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().
gselect.ColumnSelect.defaultValue |
Definition at line 797 of file gselect.py.
Referenced by gselect.ColumnSelect.InsertColumns(), and gselect.ColumnSelect.InsertTableColumns().
gselect.ColumnSelect.param |
Definition at line 798 of file gselect.py.
Referenced by gselect.ColumnSelect.InsertColumns(), and gselect.ColumnSelect.InsertTableColumns().