FXTabItem

A tab item is placed in a tab bar or tab book. When selected, the tab item sends a message to its parent, and causes itself to become the active tab, and raised slightly above the other tabs. In the tab book, activating a tab item also causes the corresponding panel to be raised to the top.


FXTabItem(p, text, ic=None, opts=TAB_TOP_NORMAL, x=0, y=0, w=0, h=0, pl=6, pr=6, pt=DEFAULT_PAD, pb=DEFAULT_PAD)

Construct a tab item.

ArgumentTypeDefaultDescription
pFXTabBar  
textString  
icFXIconNone 
optsIntTAB_TOP_NORMAL 
xInt0 
yInt0 
wInt0 
hInt0 
plInt6 
prInt6 
ptIntDEFAULT_PAD 
pbIntDEFAULT_PAD 


canFocus()

Returns True because a tab item can receive focus.

Reimplemented from FXWindow.


Global flags

Tab Item orientations which affect border

TAB_TOP

Top side tabs.

TAB_LEFT

Left side tabs.

TAB_RIGHT

Right side tabs.

TAB_BOTTOM

Bottom side tabs.