GeezerVisonThe World Wide Web, restored to 800 pixels of glory. | ||||||
| Home|About|Gaming cabinet|Archives|How it works|Starter sites | ||||||
GeezerVison is showing docs.wxpython.org — wx.html.SimpleHtmlListBox — wxPython 4.3.2 Docs
|
Constructor, creating and showing the HTML list box. |
|
Creates the HTML listbox for two-step construction. |
|
Class API¶Possible constructors:
SimpleHtmlListBox(parent, id=ID_ANY, pos=DefaultPosition, size=DefaultSize, choices=[], style=HLB_DEFAULT_STYLE, validator=DefaultValidator, name=SimpleHtmlListBoxNameStr) -> None SimpleHtmlListBox() -> None
SimpleHtmlListBox is an implementation of HtmlListBox which shows HTML content in the listbox rows.
__init__ (self, parent, id=ID_ANY, pos=DefaultPosition, size=DefaultSize, choices=[], style=HLB_DEFAULT_STYLE, validator=DefaultValidator, name=SimpleHtmlListBoxNameStr)
Constructor, creating and showing the HTML list box.
parent (wx.Window) – Parent window. Must not be nullptr.
id (wx.WindowID) – Window identifier. A value of -1 indicates a default value.
pos (wx.Point) – Window position.
size (wx.Size) – Window size. If DefaultSize is specified then the window is sized appropriately.
choices (list of strings) – An array of strings with which to initialise the control.
style (long) – Window style. See HLB_ flags.
validator (wx.Validator) – Window validator.
name (string) – Window name.
None
__init__ (self)
Default constructor, you must call Create later.
None
Creates the HTML listbox for two-step construction.
See wx.html.SimpleHtmlListBox for further details.
parent (wx.Window)
id (wx.WindowID)
pos (wx.Point)
size (wx.Size)
choices (list of strings)
style (long)
validator (wx.Validator)
name (string)
bool
variant (WindowVariant)
VisualAttributes