Package gui :: Module wizard_elements :: Class String_list_of_lists
[hide private]
[frames] | no frames]

Class String_list_of_lists

source code


Wizard GUI element for the input of a list of lists of strings.

Instance Methods [hide private]
 
__init__(self, name=None, titles=None, parent=None, sizer=None, desc=None, tooltip=None, divider=None, padding=0, spacer=None)
Set up the element.
source code
 
init_window(self)
Set up the specific window type.
source code

Inherited from List: GetValue, SetValue, open_dialog

Method Details [hide private]

__init__(self, name=None, titles=None, parent=None, sizer=None, desc=None, tooltip=None, divider=None, padding=0, spacer=None)
(Constructor)

source code 

Set up the element.

Parameters:
  • name (str) - The name of the element to use in titles, etc.
  • titles (list of str) - The titles of each of the elements of the fixed width second dimension.
  • parent (wx.Panel instance) - The wizard GUI element.
  • sizer (wx.Sizer instance) - The sizer to put the input field widget into.
  • desc (str) - The text description.
  • tooltip (str) - The tooltip which appears on hovering over the text or input field.
  • divider (None or int) - The optional position of the divider. If None, the class variable _div_left will be used.
  • padding (int) - Spacing to the left and right of the widgets.
  • spacer (None or int) - The amount of spacing to add below the field in pixels. If None, a stretchable spacer will be used.
Overrides: List.__init__

init_window(self)

source code 

Set up the specific window type.

Overrides: List.init_window