This class holds all the information (caption, image, etc...) belonging to a single tab in FlatNotebook.
__init__ | Default Class Constructor. |
EnableTab | Sets the tab enabled or disabled. |
GetCaption | Returns the tab caption. |
GetColour | Returns the tab colour. |
GetEnabled | Returns whether the tab is enabled or not. |
GetImageIndex | Returns the tab image index. |
GetPageTextColour | Returns the tab text colour if it has been set previously, or None |
GetPosition | Returns the tab position. |
GetRegion | Returns the tab region. |
GetSize | Returns the tab size. |
GetTabAngle | Returns the tab angle. |
GetXRect | Returns the button ‘X’ area rect. |
SetCaption | Sets the tab caption. |
SetColour | Sets the tab colour. |
SetImageIndex | Sets the tab image index. |
SetPageTextColour | Sets the tab text colour for this tab. |
SetPosition | Sets the tab position. |
SetRegion | Sets the tab region. |
SetSize | Sets the tab size. |
SetTabAngle | Sets the tab header angle. |
SetXRect | Sets the button ‘X’ area rect. |
This class holds all the information (caption, image, etc...) belonging to a single tab in FlatNotebook.
Default Class Constructor.
Parameters: |
|
---|
Sets the tab enabled or disabled.
Parameters: | enabled – True to enable a tab, False to disable it. |
---|
Returns the tab text colour if it has been set previously, or None otherwise.
Sets the tab colour.
Parameters: | colour – a valid wx.Colour object or any typemap supported by wxWidgets/wxPython to generate a colour (i.e., a hex string, a colour name, a 3 or 4 integer tuple). |
---|
Sets the tab image index.
Parameters: | value – an index within the FlatNotebook image list specifying the image to use for this tab. |
---|
Sets the tab text colour for this tab.
Parameters: | colour – an instance of wx.Colour. You can pass None or wx.NullColour to return to the default page text colour. |
---|
Sets the tab header angle.
Parameters: | value – the tab header angle (0 <= value <= 15 degrees). |
---|