|
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 |
|
|
| itemDataMap |
|
| dropdown |
|
| dropdownlistbox |
|
| il |
|
| sm_dn |
|
| sm_up |
|
| popupsize |
|
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.
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 |
|
) |
| |
The documentation for this class was generated from the following file:
- thykonTextCtrlAutoComplete.py