[wxPython-users] EditableListBox buttons
L. Fanchi
lorenzo.fanchi at gmail.com
Tue Mar 4 14:12:53 PST 2008
Thank you, that worked perfectly!
I can't seem to find a page which explains how to catch interactions
with the EditableListBox.
E.g. when the user presses the delete button, I'd like it to delete the
entry in the list I made it load.
Also the sorting isn't applied to the loaded list.. ListCtrl commands,
like EVT_LIST_ITEM_SELECTED, don't seem to work..
Is there a page where I can find what commands to use with EditableListBox?
Thanks!
P.S. Sorry about the new email thing.. I forgot to remove your reply to
the old question before sending my question.
Robin Dunn wrote:
> When you start a new topic in this list please do it by creating a new
> email, not replying to an existing one with a different subject.
>
>
> L. Fanchi wrote:
>> Hello,
>>
>> I'm having problems disabling/removing the 'new' and 'edit' buttons
>> of my EditableListBox.
>> Could someone explain how it works? This is what I have now:
>>
>> /imageList = gizmos.EditableListBox(panel, -1, "Images", pos =
>> (310,80), size = (250, 330))/
>>
>
> Pass a style parameter to the constructor using the flags for the
> buttons you want. By default it is all of these:
>
> wx.gizmos.EL_ALLOW_NEW,
> wx.gizmos.EL_ALLOW_EDIT
> wx.gizmos.EL_ALLOW_DELETE
>
>
More information about the wxpython-users
mailing list