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

FX::FXTabItem Class Reference

A tab item is placed in a tab bar or tab book. More...

#include <FXTabItem.h>

Inheritance diagram for FX::FXTabItem:
FX::FXLabel FX::FXFrame FX::FXWindow FX::FXDrawable FX::FXId FX::FXObject

List of all members.

Public Member Functions

long onPaint (FXObject *, FXSelector, void *)
long onFocusIn (FXObject *, FXSelector, void *)
long onFocusOut (FXObject *, FXSelector, void *)
long onUngrabbed (FXObject *, FXSelector, void *)
long onLeftBtnPress (FXObject *, FXSelector, void *)
long onLeftBtnRelease (FXObject *, FXSelector, void *)
long onKeyPress (FXObject *, FXSelector, void *)
long onKeyRelease (FXObject *, FXSelector, void *)
long onHotKeyPress (FXObject *, FXSelector, void *)
long onHotKeyRelease (FXObject *, FXSelector, void *)
 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.


The documentation for this class was generated from the following file:

Copyright © 1997-2011 Jeroen van der Zijp