GRASS Programmer's Manual  6.5.svn(2012)-r51648
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Defines
prompt.GPrompt Class Reference

Abstract class for interactive wxGUI prompt. More...

Inheritance diagram for 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
 mapsetList
 autoCompList
 autoCompFilter
 cmdDesc
 cmdbuffer
 cmdindex
 dataList

Detailed Description

Abstract class for interactive wxGUI prompt.

See subclass GPromptPopUp and GPromptSTC.

Definition at line 468 of file prompt.py.


Constructor & Destructor Documentation

def prompt.GPrompt.__init__ (   self,
  parent 
)

Reimplemented in prompt.GPromptPopUp.

Definition at line 473 of file prompt.py.


Member Function Documentation

def prompt.GPrompt.GetCommandDesc (   self,
  cmd 
)

Get description for given command.

Definition at line 524 of file prompt.py.

References prompt.GPrompt.moduleDesc.

Get list of available commands.

Definition at line 531 of file prompt.py.

References prompt.GPrompt.autoCompFilter, prompt.GPrompt.moduleList, and tools.range.

def prompt.GPrompt.GetInput (   self)

Get main prompt widget.

Definition at line 625 of file prompt.py.

References gselect.GdalSelect.input.

def prompt.GPrompt.OnUpdateStatusBar (   self,
  event 
)

Update Layer Manager status bar.

Definition at line 610 of file prompt.py.

References prompt.GPrompt.standAlone.

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

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

Set filter.

Parameters:
datadata dict
moduleTrue to filter modules, otherwise data

Definition at line 629 of file prompt.py.

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


Field Documentation

Definition at line 500 of file prompt.py.

Referenced by prompt.GPromptSTC.UpdateCmdHistory().

Reimplemented in prompt.GPromptSTC.

Definition at line 499 of file prompt.py.

Referenced by prompt.GPromptSTC.OnItemSelected().

Reimplemented in prompt.GPromptSTC.

Definition at line 501 of file prompt.py.

Definition at line 642 of file prompt.py.

Definition at line 489 of file prompt.py.

Definition at line 490 of file prompt.py.


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