![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXArrowButton.h>
Public Member Functions | |
FXArrowButton (FXComposite *p, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=ARROW_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) | |
virtual FXint | getDefaultWidth () |
virtual FXint | getDefaultHeight () |
virtual void | enable () |
virtual void | disable () |
virtual FXbool | canFocus () const |
void | setState (FXbool s) |
FXbool | getState () const |
void | setHelpText (const FXString &text) |
const FXString & | getHelpText () const |
void | setTipText (const FXString &text) |
const FXString & | getTipText () const |
void | setArrowStyle (FXuint style) |
FXuint | getArrowStyle () const |
void | setArrowSize (FXint size) |
FXint | getArrowSize () const |
void | setJustify (FXuint mode) |
FXuint | getJustify () const |
FXColor | getArrowColor () const |
void | setArrowColor (FXColor clr) |
virtual void | save (FXStream &store) const |
virtual void | load (FXStream &store) |
virtual | ~FXArrowButton () |
When clicked, the arrow button sends a SEL_COMMAND to its target. When ARROW_REPEAT is passed, the arrow button sends a SEL_COMMAND repeatedly while the button is pressed. The option ARROW_AUTO together with ARROW_REPEAT makes the arrow button work in repeat mode simply by hovering the cursor over it.
See also:
FX::FXArrowButton::FXArrowButton | ( | FXComposite * | p, | |
FXObject * | tgt = NULL , |
|||
FXSelector | sel = 0 , |
|||
FXuint | opts = ARROW_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 arrow button.
virtual FX::FXArrowButton::~FXArrowButton | ( | ) | [virtual] |
Destructor.
virtual FXint FX::FXArrowButton::getDefaultWidth | ( | ) | [virtual] |
virtual FXint FX::FXArrowButton::getDefaultHeight | ( | ) | [virtual] |
virtual void FX::FXArrowButton::enable | ( | ) | [virtual] |
virtual void FX::FXArrowButton::disable | ( | ) | [virtual] |
virtual FXbool FX::FXArrowButton::canFocus | ( | ) | const [virtual] |
void FX::FXArrowButton::setState | ( | FXbool | s | ) |
Set the button state (where true means the button is down).
FXbool FX::FXArrowButton::getState | ( | ) | const [inline] |
Get the button state (where true means the button is down).
void FX::FXArrowButton::setHelpText | ( | const FXString & | text | ) | [inline] |
Set status line help text for this arrow button.
const FXString& FX::FXArrowButton::getHelpText | ( | ) | const [inline] |
Get status line help text for this arrow button.
void FX::FXArrowButton::setTipText | ( | const FXString & | text | ) | [inline] |
Set tool tip message for this arrow button.
const FXString& FX::FXArrowButton::getTipText | ( | ) | const [inline] |
Get tool tip message for this arrow button.
void FX::FXArrowButton::setArrowStyle | ( | FXuint | style | ) |
Set the arrow style flags.
FXuint FX::FXArrowButton::getArrowStyle | ( | ) | const |
Get the arrow style flags.
void FX::FXArrowButton::setArrowSize | ( | FXint | size | ) |
Set the default arrow size.
FXint FX::FXArrowButton::getArrowSize | ( | ) | const [inline] |
Get the default arrow size.
void FX::FXArrowButton::setJustify | ( | FXuint | mode | ) |
Set the current justification mode.
FXuint FX::FXArrowButton::getJustify | ( | ) | const |
Get the current justification mode.
FXColor FX::FXArrowButton::getArrowColor | ( | ) | const [inline] |
Get the fill color for the arrow.
void FX::FXArrowButton::setArrowColor | ( | FXColor | clr | ) |
Set the fill color for the arrow.
virtual void FX::FXArrowButton::save | ( | FXStream & | store | ) | const [virtual] |
virtual void FX::FXArrowButton::load | ( | FXStream & | store | ) | [virtual] |
![]() |