GRASS Programmer's Manual  6.5.svn(2014)-r66266
 All Data Structures Namespaces Files Functions Variables Typedefs Enumerations Enumerator Macros Pages
prompt.GPrompt Class Reference

Abstract class for interactive wxGUI prompt. More...

Inheritance diagram for prompt.GPrompt:
Collaboration diagram for prompt.GPrompt:

Public Member Functions

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

Data Fields

 parent
 
 panel
 
 standAlone
 
 moduleDesc
 
 moduleList
 
 mapList
 
 mapsetList
 
 autoCompList
 
 autoCompFilter
 
 cmdDesc
 
 cmdbuffer
 
 cmdindex
 
 commands
 
 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 
)

Definition at line 473 of file prompt.py.

Member Function Documentation

def prompt.GPrompt.ClearCommands (   self)

Clear list of commands.

Definition at line 670 of file prompt.py.

References prompt.GPrompt.commands.

def prompt.GPrompt.GetCommandDesc (   self,
  cmd 
)

Get description for given command.

Definition at line 527 of file prompt.py.

References prompt.GPrompt.moduleDesc.

def prompt.GPrompt.GetCommands (   self)

Get list of launched commands.

Definition at line 666 of file prompt.py.

References prompt.GPrompt.commands.

def prompt.GPrompt.GetInput (   self)

Get main prompt widget.

Definition at line 645 of file prompt.py.

References gselect.GdalSelect.input.

def prompt.GPrompt.OnUpdateStatusBar (   self,
  event 
)

Update Layer Manager status bar.

Definition at line 630 of file prompt.py.

References prompt.GPrompt.standAlone.

Referenced by prompt.GPromptPopUp.__init__().

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

Set filter.

Parameters
datadata dict
moduleTrue to filter modules, otherwise data

Definition at line 649 of file prompt.py.

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

Field Documentation

prompt.GPrompt.autoCompFilter

Definition at line 496 of file prompt.py.

Referenced by prompt.GPrompt.GetCommandItems().

prompt.GPrompt.autoCompList

Definition at line 495 of file prompt.py.

Referenced by prompt.GPromptSTC.OnItemChanged(), and prompt.GPromptSTC.ShowList().

prompt.GPrompt.cmdbuffer
prompt.GPrompt.cmdDesc

Definition at line 499 of file prompt.py.

Referenced by prompt.GPromptSTC.OnItemSelected().

prompt.GPrompt.cmdindex

Definition at line 501 of file prompt.py.

Referenced by prompt.GPromptSTC.OnKeyPressed().

prompt.GPrompt.commands

Definition at line 504 of file prompt.py.

Referenced by prompt.GPrompt.ClearCommands(), and prompt.GPrompt.GetCommands().

prompt.GPrompt.dataList

Definition at line 662 of file prompt.py.

prompt.GPrompt.mapList

Definition at line 489 of file prompt.py.

prompt.GPrompt.mapsetList

Definition at line 490 of file prompt.py.

prompt.GPrompt.moduleDesc

Definition at line 485 of file prompt.py.

Referenced by prompt.GPrompt.GetCommandDesc(), and prompt.GPromptSTC.OnItemChanged().

prompt.GPrompt.moduleList

Definition at line 488 of file prompt.py.

Referenced by prompt.GPrompt.GetCommandItems(), and prompt.GPrompt.SetFilter().

prompt.GPrompt.panel
prompt.GPrompt.standAlone

Definition at line 478 of file prompt.py.

Referenced by prompt.GPrompt.GetCommandItems(), and prompt.GPrompt.OnUpdateStatusBar().


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