controls/TextCtrlAutoComplete.py
changeset 1771 f68a105000be
parent 1767 c74815729afd
child 1782 5b6ad7a7fd9d
equal deleted inserted replaced
1770:449fd504a711 1771:f68a105000be
   108         event.Skip()
   108         event.Skip()
   109 
   109 
   110 
   110 
   111 class TextCtrlAutoComplete(wx.TextCtrl):
   111 class TextCtrlAutoComplete(wx.TextCtrl):
   112 
   112 
   113     def __init__ (self, parent, choices=None, dropDownClick=True,
   113     def __init__(self, parent, choices=None, dropDownClick=True,
   114                   element_path=None, **therest):
   114                  element_path=None, **therest):
   115         """
   115         """
   116         Constructor works just like wx.TextCtrl except you can pass in a
   116         Constructor works just like wx.TextCtrl except you can pass in a
   117         list of choices.  You can also change the choice list at any time
   117         list of choices.  You can also change the choice list at any time
   118         by calling setChoices.
   118         by calling setChoices.
   119         """
   119         """