Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXHeader.h>
Inheritance diagram for FX::FXHeaderItem:
Public Types | |
enum | { RIGHT = 0x00000008, LEFT = 0x00000010, CENTER_X = 0, TOP = 0x00000020, BOTTOM = 0x00000040, CENTER_Y = 0, BEFORE = 0x00000080, AFTER = 0x00000100, ABOVE = 0x00000200, BELOW = 0x00000400 } |
Public Member Functions | |
FXHeaderItem (const FXString &text, FXIcon *ic=NULL, FXint s=0, void *ptr=NULL) | |
virtual void | setText (const FXString &txt) |
const FXString & | getText () const |
virtual void | setIcon (FXIcon *icn) |
FXIcon * | getIcon () const |
void | setData (void *ptr) |
void * | getData () const |
void | setSize (FXint s) |
FXint | getSize () const |
void | setPos (FXint p) |
FXint | getPos () const |
void | setArrowDir (FXbool dir=MAYBE) |
FXbool | getArrowDir () const |
void | setJustify (FXuint justify) |
FXuint | getJustify () const |
void | setIconPosition (FXuint mode) |
FXuint | getIconPosition () const |
void | setPressed (FXbool pressed) |
FXbool | isPressed () const |
virtual FXint | getWidth (const FXHeader *header) const |
virtual FXint | getHeight (const FXHeader *header) const |
virtual void | create () |
virtual void | detach () |
virtual void | destroy () |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXHeaderItem () |
See also:
|
|
|
Construct new item with given text, icon, size, and user-data.
|
|
Destructor.
|
|
Change item's text label.
|
|
Return item's text label.
|
|
Change item's icon.
|
|
Return item's icon.
|
|
Change item's user data.
|
|
Get item's user data.
|
|
Change size.
|
|
Obtain current size.
|
|
Change position.
|
|
Obtain current position.
|
|
Change sort direction (FALSE, TRUE, MAYBE).
|
|
Return sort direction (FALSE, TRUE, MAYBE).
|
|
Change content justification.
|
|
Return content justification.
|
|
Change icon position.
|
|
Return icon position.
|
|
Change state to pressed.
|
|
Return pressed state.
|
|
Return the item's content width in the header.
|
|
Return the item's content height in the header.
|
|
Create server-side resources.
|
|
Detach from server-side resources.
|
|
Destroy server-side resources.
|
|
Stream serialization.
Reimplemented from FX::FXObject. |
|
Load object from stream.
Reimplemented from FX::FXObject. |
Copyright © 1997-2004 Jeroen van der Zijp |