FXTabBook

The tab book layout manager arranges pairs of children; the even numbered children (0,2,4,...) are usually tab items, and are placed on the top. The odd numbered children are usually layout managers, and are placed below; all the odd numbered children are placed on top of each other, similar to the switcher widget. When the user presses one of the tab items, the tab item is raised above the neighboring tabs, and the corresponding panel is raised to the top. Thus, a tab book can be used to present many GUI controls in a small space by placing several panels on top of each other and using tab items to select the desired panel.


FXTabBook(p, tgt=None, sel=0, opts=TABBOOK_NORMAL, x=0, y=0, w=0, h=0, pl=DEFAULT_SPACING, pr=DEFAULT_SPACING, pt=DEFAULT_SPACING, pb=DEFAULT_SPACING)

Construct tab book.

ArgumentTypeDefaultDescription
pFXComposite  
tgtFXObjectNone 
selInt0 
optsIntTABBOOK_NORMAL 
xInt0 
yInt0 
wInt0 
hInt0 
plIntDEFAULT_SPACING 
prIntDEFAULT_SPACING 
ptIntDEFAULT_SPACING 
pbIntDEFAULT_SPACING 


getDefaultHeight()

Return default height.

Reimplemented from FXTabBar.


getDefaultWidth()

Return default width.

Reimplemented from FXTabBar.