RF Drive Analysis, Prediction and Optimisation Tool
 All Classes Namespaces Functions Variables
Public Member Functions | Public Attributes | List of all members
thykonTextCtrlAutoComplete.TextCtrlAutoComplete Class Reference
Inheritance diagram for thykonTextCtrlAutoComplete.TextCtrlAutoComplete:

Public Member Functions

def __init__
 
def GetSortImages
 
def GetListCtrl
 
def onListClick
 
def onListDClick
 
def onListColClick
 
def onEnteredText
 
def onKeyDown
 
def onListItemSelected
 
def onClickToggleDown
 
def onClickToggleUp
 
def onControlChanged
 
def SetMultipleChoices
 
def SetChoices
 
def GetChoices
 
def SetSelectCallback
 
def SetEntryCallback
 
def SetMatchFunction
 

Public Attributes

 itemDataMap
 
 dropdown
 
 dropdownlistbox
 
 il
 
 sm_dn
 
 sm_up
 
 popupsize
 

Constructor & Destructor Documentation

def thykonTextCtrlAutoComplete.TextCtrlAutoComplete.__init__ (   self,
  parent,
  colNames = None,
  choices = None,
  multiChoices = None,
  showHead = True,
  dropDownClick = True,
  colFetch = -1,
  colSearch = 0,
  hideOnNoMatch = True,
  selectCallback = None,
  entryCallback = None,
  matchFunction = None,
  therest 
)
Constructor works just like wx.TextCtrl except you can pass in a
list of choices.  You can also change the choice list at any time
by calling setChoices.

Member Function Documentation

def thykonTextCtrlAutoComplete.TextCtrlAutoComplete.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
def thykonTextCtrlAutoComplete.TextCtrlAutoComplete.SetChoices (   self,
  choices 
)
Sets the choices available in the popup wx.ListBox.
The items will be sorted case insensitively.
def thykonTextCtrlAutoComplete.TextCtrlAutoComplete.SetMultipleChoices (   self,
  choices,
  colSearch = 0,
  colFetch = -1 
)
Set multi-column choice

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