This class holds all the information (caption, image, etc...) belonging to a single tab in LabelBook.
__init__ | Default class constructor. |
EnableTab | Sets the tab enabled or disabled. |
GetCaption | Returns the tab caption. |
GetEnabled | Returns whether the tab is enabled or not. |
GetImageIndex | Returns the tab image index. |
GetPosition | Returns the tab position. |
GetSize | Returns the tab size. |
GetTextRect | Returns the client rectangle available for the tab text. |
SetCaption | Sets the tab caption. |
SetImageIndex | Sets the tab image index. |
SetPosition | Sets the tab position. |
SetSize | Sets the tab size. |
SetTextRect | Sets the client rectangle available for the tab text. |
This class holds all the information (caption, image, etc...) belonging to a single tab in LabelBook.
Default class constructor.
Parameters: |
|
---|
Sets the tab enabled or disabled.
Parameters: | enabled – True to enable a tab, False to disable it. |
---|
Sets the tab image index.
Parameters: | value – an index into the image list.. |
---|
Sets the tab position.
Parameters: | value – the new tab position, an instance of wx.Point. |
---|
Sets the tab size.
Parameters: | value – the new tab size, an instance of wx.Size. |
---|