wx.lib.agw.persist.persist_handlers.ListBoxHandler¶Supports saving/restoring selected items in ListBox, ListCtrl, ListView,
VListBox, html.HtmlListBox, html.SimpleHtmlListBox, adv.EditableListBox.
This class handles the following wxPython widgets:
ListBox;ListCtrl (only for selected items. For column sizes see ListCtrlHandler);ListView (only for selected items. For column sizes see ListCtrlHandler);VListBox;html.HtmlListBox;html.SimpleHtmlListBox;adv.EditableListBox.
Known Subclasses¶wx.lib.agw.persist.persist_handlers.CheckListBoxHandler, wx.lib.agw.persist.persist_handlers.ListCtrlHandler
Methods Summary¶__init__ |
|
GetKind |
|
GetSelections |
Returns a list of selected items for ListBox, ListCtrl, ListView, |
Restore |
|
Save |
Class API¶ListBoxHandler(AbstractHandler)¶Supports saving/restoring selected items in ListBox, ListCtrl, ListView,
VListBox, html.HtmlListBox, html.SimpleHtmlListBox, adv.EditableListBox.
This class handles the following wxPython widgets:
ListBox;ListCtrl (only for selected items. For column sizes see ListCtrlHandler);ListView (only for selected items. For column sizes see ListCtrlHandler);VListBox;html.HtmlListBox;html.SimpleHtmlListBox;adv.EditableListBox.__init__(self, pObject)¶GetKind(self)¶GetSelections(self, listBox)¶Returns a list of selected items for ListBox, ListCtrl, ListView,
VListBox, html.HtmlListBox, html.SimpleHtmlListBox, adv.EditableListBox.
| Parameters: | listBox – an instance of ListBox, ListCtrl, ListView,
VListBox, html.HtmlListBox, html.SimpleHtmlListBox, adv.EditableListBox.. |
|---|
Restore(self)¶Save(self)¶