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

FX::FXOption Class Reference

Option Menu Button. More...

#include <FXOptionMenu.h>

Inheritance diagram for FX::FXOption:

FX::FXLabel FX::FXFrame FX::FXWindow FX::FXDrawable FX::FXId FX::FXObject List of all members.

Public Member Functions

 FXOption (FXComposite *p, const FXString &text, FXIcon *ic=NULL, FXObject *tgt=NULL, FXSelector sel=0, FXuint opts=JUSTIFY_NORMAL|ICON_BEFORE_TEXT, 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 FXbool canFocus () const
virtual void setFocus ()
virtual void killFocus ()
virtual ~FXOption ()

Detailed Description

Option Menu Button.


Constructor & Destructor Documentation

FX::FXOption::FXOption FXComposite p,
const FXString text,
FXIcon ic = NULL,
FXObject tgt = NULL,
FXSelector  sel = 0,
FXuint  opts = JUSTIFY_NORMAL|ICON_BEFORE_TEXT,
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
 

Constructor.

virtual FX::FXOption::~FXOption  )  [virtual]
 

Destructor.


Member Function Documentation

virtual FXint FX::FXOption::getDefaultWidth  )  [virtual]
 

Return default width.

Reimplemented from FX::FXLabel.

virtual FXint FX::FXOption::getDefaultHeight  )  [virtual]
 

Return default height.

Reimplemented from FX::FXLabel.

virtual FXbool FX::FXOption::canFocus  )  const [virtual]
 

Returns true because a menu button can receive focus.

Reimplemented from FX::FXWindow.

virtual void FX::FXOption::setFocus  )  [virtual]
 

Set focus to this window.

Reimplemented from FX::FXWindow.

virtual void FX::FXOption::killFocus  )  [virtual]
 

Remove the focus from this window.

Reimplemented from FX::FXWindow.

Copyright © 1997-2004 Jeroen van der Zijp