GRASS Programmer's Manual  6.4.4(2014)-r
prompt.GPromptPopUp Class Reference

Interactive wxGUI prompt - popup version. More...

Inheritance diagram for prompt.GPromptPopUp:
Collaboration diagram for prompt.GPromptPopUp:

Public Member Functions

def __init__ (self, parent)
 
def OnCmdErase (self, event)
 Erase command prompt. More...
 
def OnRunCmd (self, event)
 Run command. More...
 
- Public Member Functions inherited from prompt.GPrompt
def __init__ (self, parent)
 
def GetCommandDesc (self, cmd)
 Get description for given command. More...
 
def GetCommandItems (self)
 Get list of available commands. More...
 
def OnUpdateStatusBar (self, event)
 Update Layer Manager status bar. More...
 
def GetPanel (self)
 Get main widget panel. More...
 
def GetInput (self)
 Get main prompt widget. More...
 
def SetFilter
 Set filter. More...
 
def GetCommands (self)
 Get list of launched commands. More...
 
def ClearCommands (self)
 Clear list of commands. More...
 
- Public Member Functions inherited from prompt.TextCtrlAutoComplete
def __init__ (self, parent, statusbar, id=wx.ID_ANY, choices=[], kwargs)
 Constructor works just like wx.TextCtrl except you can pass in a list of choices. More...
 
def GetListCtrl (self)
 Method required by listmix.ColumnSorterMixin. More...
 
def SetChoices
 Sets the choices available in the popup wx.ListBox. More...
 
def OnClick (self, event)
 
def OnCommandSelect (self, event)
 Command selected from history. More...
 
def OnListClick (self, evt)
 Left mouse button pressed. More...
 
def OnListDClick (self, evt)
 Mouse button double click. More...
 
def OnListColClick (self, evt)
 Left mouse button pressed on column. More...
 
def OnListItemSelected (self, event)
 Item selected. More...
 
def OnEnteredText (self, event)
 Text entered. More...
 
def OnKeyDown (self, event)
 Do some work when the user press on the keys: up and down: move the cursor left and right: move the search. More...
 
def OnControlChanged (self, event)
 Control changed. More...
 

Additional Inherited Members

- Data Fields inherited from prompt.GPrompt
 parent
 
 panel
 
 standAlone
 
 moduleDesc
 
 moduleList
 
 mapList
 
 mapsetList
 
 autoCompList
 
 autoCompFilter
 
 cmdDesc
 
 cmdbuffer
 
 cmdindex
 
 commands
 
 dataList
 
- Data Fields inherited from prompt.TextCtrlAutoComplete
 statusbar
 
 itemDataMap
 
 dropdown
 
 dropdownlistbox
 
 popupsize
 

Detailed Description

Interactive wxGUI prompt - popup version.

Definition at line 674 of file prompt.py.

Constructor & Destructor Documentation

Member Function Documentation

def prompt.GPromptPopUp.OnCmdErase (   self,
  event 
)

Erase command prompt.

Definition at line 705 of file prompt.py.

Referenced by prompt.GPrompt.GetCommandItems(), and prompt.GPromptSTC.OnItemSelected().

def prompt.GPromptPopUp.OnRunCmd (   self,
  event 
)

Run command.

Definition at line 709 of file prompt.py.

References prompt.GPrompt._runCmd().

Referenced by prompt.GPromptPopUp.__init__().


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