![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXOptionMenu.h>
Inheritance diagram for FX::FXOptionMenu:
Public Methods | |
FXOptionMenu (FXComposite *p, FXPopup *pup=NULL, 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 void | create () |
Create server-side resources. | |
virtual void | detach () |
Detach server-side resources. | |
virtual void | destroy () |
Delete server-side resources. | |
virtual void | killFocus () |
Remove the focus from this window. | |
virtual FXint | getDefaultWidth () |
Return default width. | |
virtual FXint | getDefaultHeight () |
Return default height. | |
virtual FXbool | contains (FXint parentx, FXint parenty) const |
Return TRUE if the position is logically in the pane. | |
void | setCurrent (FXOption *win) |
Set the current option. | |
FXOption * | getCurrent () const |
Return the current option. | |
void | setCurrentNo (FXint no) |
Set the current option number. | |
FXint | getCurrentNo () const |
Get the current option number. | |
void | setPopup (FXPopup *pup) |
Set the pane which will be popped up. | |
FXPopup * | getPopup () const |
Return the pane which is poppup up. | |
virtual FXbool | canFocus () const |
Returns true because a option menu can receive focus. | |
FXbool | isPopped () const |
Return TRUE if popped up. | |
virtual void | save (FXStream &store) const |
Save option menu to a stream. | |
virtual void | load (FXStream &store) |
Load option menu from a stream. | |
virtual | ~FXOptionMenu () |
Destructor. |