__init__(self,
box,
parent,
text="",
default="",
tooltip=None,
editable=True,
width_text=200,
width_button=80,
spacer=0)
(Constructor)
| source code
|
Create a text selection element for the frame.
This consists of a horizontal layout with a static text element, a
text control, and an optional button.
- Parameters:
box (wx.BoxSizer instance) - The box element to pack the structure file selection GUI element
into.
parent (wx object) - The parent GUI element.
text (str) - The static text.
default (str) - The default text of the control.
tooltip (str) - The tooltip which appears on hovering over the text or input
field.
editable (bool) - A flag specifying if the control is editable or not.
width_text (int) - The width of the text element.
width_button (int) - The width of the standard button used in the other elements.
spacer (int) - The horizontal spacing between the elements.
|