AGW Logo

agw_title ListBoxHandler

Supports saving/restoring selected items in wx.ListBox, wx.ListCtrl, wx.ListView, wx.VListBox, wx.HtmlListBox, wx.SimpleHtmlListBox, wx.gizmos.EditableListBox.

This class handles the following wxPython widgets:

  • wx.ListBox;
  • wx.ListCtrl (only for selected items. For column sizes see ListCtrlHandler);
  • wx.ListView (only for selected items. For column sizes see ListCtrlHandler);
  • wx.VListBox;
  • wx.HtmlListBox;
  • wx.SimpleHtmlListBox;
  • wx.gizmos.EditableListBox.

hierarchy Inheritance Diagram

Inheritance diagram for: ListBoxHandler

Inheritance diagram of ListBoxHandler


method_summary Methods Summary

__init__
GetKind
GetSelectionsReturns a list of selected items for wx.ListBox, wx.ListCtrl, wx.ListView,
Restore
Save

API Class API

class ListBoxHandler(AbstractHandler)[source]

Supports saving/restoring selected items in wx.ListBox, wx.ListCtrl, wx.ListView, wx.VListBox, wx.HtmlListBox, wx.SimpleHtmlListBox, wx.gizmos.EditableListBox.

This class handles the following wxPython widgets:



__init__(pObject)[source]


GetSelections(listBox)[source]

Returns a list of selected items for wx.ListBox, wx.ListCtrl, wx.ListView, wx.VListBox, wx.HtmlListBox, wx.SimpleHtmlListBox, wx.gizmos.EditableListBox.

Parameters:listBox – an instance of wx.ListBox, wx.ListCtrl, wx.ListView, wx.VListBox, wx.HtmlListBox, wx.SimpleHtmlListBox, wx.gizmos.EditableListBox..

Tree

Table Of Contents

Previous topic

FontPickerHandler

Next topic

ListCtrlHandler