GRASS Programmer's Manual  6.4.2(2012)
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
gui_modules.prompt.GPrompt Class Reference

Abstract class for interactive wxGUI prompt. More...

Inheritance diagram for gui_modules.prompt.GPrompt:

Public Member Functions

def __init__
def GetCommandDesc
 Get description for given command.
def GetCommandItems
 Get list of available commands.
def OnRunCmd
 Run command.
def OnUpdateStatusBar
 Update Layer Manager status bar.
def GetPanel
 Get main widget panel.
def GetInput
 Get main prompt widget.
def SetFilter
 Set filter.

Data Fields

 parent
 panel
 standAlone
 moduleDesc
 moduleList
 mapList
 autoCompList
 autoCompFilter
 cmdDesc
 cmdbuffer
 cmdindex
 dataList

Detailed Description

Abstract class for interactive wxGUI prompt.

See subclass GPromptPopUp and GPromptSTC.

Definition at line 470 of file prompt.py.

Constructor & Destructor Documentation

def gui_modules.prompt.GPrompt.__init__ (   self,
  parent 
)

Reimplemented in gui_modules.prompt.GPromptPopUp.

Definition at line 475 of file prompt.py.

Member Function Documentation

def gui_modules.prompt.GPrompt.GetCommandDesc (   self,
  cmd 
)

Get description for given command.

Definition at line 525 of file prompt.py.

References gui_modules.prompt.GPrompt.moduleDesc.

def gui_modules.prompt.GPrompt.GetCommandItems (   self)

Get list of available commands.

Definition at line 532 of file prompt.py.

References gui_modules.prompt.GPrompt.autoCompFilter, and gui_modules.prompt.GPrompt.moduleList.

def gui_modules.prompt.GPrompt.GetInput (   self)

Get main prompt widget.

Definition at line 626 of file prompt.py.

References gui_modules.gselect.GdalSelect.input.

def gui_modules.prompt.GPrompt.OnUpdateStatusBar (   self,
  event 
)

Update Layer Manager status bar.

Definition at line 611 of file prompt.py.

References gui_modules.prompt.GPrompt.standAlone.

Referenced by gui_modules.prompt.GPromptPopUp.__init__(), and gui_modules.prompt.GPrompt.OnRunCmd().

def gui_modules.prompt.GPrompt.SetFilter (   self,
  data,
  module = True 
)

Set filter.

Parameters
datadata dict
moduleTrue to filter modules, otherwise data

Definition at line 630 of file prompt.py.

References gui_modules.prompt.GPrompt._getListOfModules(), and gui_modules.prompt.GPrompt.moduleList.

Field Documentation

gui_modules.prompt.GPrompt.autoCompFilter

Definition at line 497 of file prompt.py.

Referenced by gui_modules.prompt.GPrompt.GetCommandItems().

gui_modules.prompt.GPrompt.autoCompList
gui_modules.prompt.GPrompt.cmdbuffer

Definition at line 501 of file prompt.py.

Referenced by gui_modules.prompt.GPromptSTC.UpdateCmdHistory().

gui_modules.prompt.GPrompt.cmdDesc

Definition at line 500 of file prompt.py.

Referenced by gui_modules.prompt.GPromptSTC.OnItemSelected().

gui_modules.prompt.GPrompt.cmdindex

Definition at line 502 of file prompt.py.

gui_modules.prompt.GPrompt.dataList

Definition at line 643 of file prompt.py.

gui_modules.prompt.GPrompt.mapList

Definition at line 491 of file prompt.py.

gui_modules.prompt.GPrompt.moduleDesc
gui_modules.prompt.GPrompt.moduleList
gui_modules.prompt.GPrompt.panel
gui_modules.prompt.GPrompt.standAlone

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