GRASS Programmer's Manual
6.4.4(2014)-r
|
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 (self, event) |
Shows popupwindow if down arrow key is released. More... | |
def | SetElementList |
Set element list. More... | |
def | GetElementList (self) |
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 , |
|||
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=True. Multiple selections are separated by commas.
type | type of GIS elements ('raster, 'vector', ...) |
multiple | multiple input allowed? |
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 104 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 89 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 96 of file gselect.py.
def gselect.Select.SetType | ( | self, | |
etype, | |||
multiple = False , |
|||
mapsets = None , |
|||
updateOnPopup = True , |
|||
onPopup = None |
|||
) |
Param set element type for widget.
etype | element type, see gselect.ElementSelect |
Definition at line 109 of file gselect.py.
Referenced by gselect.Select.GetElementList().
gselect.Select.tcp |
Definition at line 79 of file gselect.py.