GRASS Programmer's Manual
6.5.svn(2014)-r66266
|
Public Member Functions | |
def | __init__ |
Custom control to create a ComboBox with a tree control to display and select GIS elements within acessible mapsets. More... | |
def | OnKeyUp |
Shows popupwindow if down arrow key is released. More... | |
def | SetElementList |
Set element list. More... | |
def | GetElementList |
Load elements. More... | |
def | SetType |
Param set element type for widget. More... | |
Data Fields | |
tcp | |
Definition at line 57 of file gselect.py.
def gselect.Select.__init__ | ( | self, | |
parent, | |||
id = wx.ID_ANY , |
|||
size = globalvar.DIALOG_GSELECT_SIZE , |
|||
type = None , |
|||
multiple = False , |
|||
nmaps = 1 , |
|||
mapsets = None , |
|||
updateOnPopup = True , |
|||
onPopup = None , |
|||
fullyQualified = True |
|||
) |
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 is True. Multiple selections are separated by commas.
type | type of GIS elements ('raster, 'vector', ...) |
multiple | True for multiple input |
nmaps | number of maps to be entered |
mapsets | force list of mapsets (otherwise search path) |
updateOnPopup | True for updating list of elements on popup |
onPopup | function to be called on Popup |
fullyQualified | True to provide fully qualified names (map) |
Definition at line 61 of file gselect.py.
def gselect.Select.GetElementList | ( | self | ) |
Load elements.
Definition at line 105 of file gselect.py.
References gselect.Select.SetType().
Referenced by gselect.TreeCtrlComboPopup.OnPopup().
def gselect.Select.OnKeyUp | ( | self, | |
event | |||
) |
Shows popupwindow if down arrow key is released.
Definition at line 90 of file gselect.py.
def gselect.Select.SetElementList | ( | self, | |
type, | |||
mapsets = None |
|||
) |
Set element list.
type | GIS element type |
mapsets | list of acceptable mapsets (None for all in search path) |
Definition at line 97 of file gselect.py.
def gselect.Select.SetType | ( | self, | |
etype, | |||
multiple = False , |
|||
nmaps = 1 , |
|||
mapsets = None , |
|||
updateOnPopup = True , |
|||
onPopup = None |
|||
) |
Param set element type for widget.
etype | element type, see gselect.ElementSelect |
Definition at line 110 of file gselect.py.
Referenced by gselect.Select.GetElementList().
gselect.Select.tcp |
Definition at line 80 of file gselect.py.