Main Page   Class Hierarchy   Alphabetical List   Compound List   File List   Compound Members

FXTabItem Class Reference

#include <FXTabItem.h>

Inheritance diagram for FXTabItem:

FXLabel FXFrame FXWindow FXDrawable FXId FXObject List of all members.

Public Methods

 FXTabItem (FXTabBar *p, const FXString &text, FXIcon *ic=0, FXuint opts=TAB_TOP_NORMAL, FXint x=0, FXint y=0, FXint w=0, FXint h=0, FXint pl=DEFAULT_PAD, FXint pr=DEFAULT_PAD, FXint pt=DEFAULT_PAD, FXint pb=DEFAULT_PAD)
 Construct a tab item.

virtual FXbool canFocus () const
 Returns true because a tab item can receive focus.

FXuint getTabOrientation () const
 Return current tab item orientation.

void setTabOrientation (FXuint style)
 Change tab item orientation.


Detailed Description

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.