Class TabItem |
# This class represents a single pane in a {TabSet}. {Components} can be added to the {TabItem} using {Container}'s {add} method. They are then displayed and accept input when that TabItem is selected. Components added to the {TabItem} are positioned relative to the position and size of the parent {TabSet}. Therefore for example {set_pos("50%", "50%")} refers to the centre of the {TabSet} rather than the centre of the screen. The components also inherit any window attributes of the {TabSet}, such as font, colour and so on.
Details |
Constructor |
TabItem(label, label_x, line_no, label_w, parent_tab_set)
Methods: |
# Set the {TabItem}'s label.
Fields: |