![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
Option Menu. More...
#include <FXOptionMenu.h>
Public Member Functions | |
| long | onPaint (FXObject *, FXSelector, void *) |
| long | onLeftBtnPress (FXObject *, FXSelector, void *) |
| long | onLeftBtnRelease (FXObject *, FXSelector, void *) |
| long | onEnter (FXObject *, FXSelector, void *) |
| long | onLeave (FXObject *, FXSelector, void *) |
| long | onFocusIn (FXObject *, FXSelector, void *) |
| long | onFocusOut (FXObject *, FXSelector, void *) |
| long | onMotion (FXObject *, FXSelector, void *) |
| long | onKeyPress (FXObject *, FXSelector, void *) |
| long | onKeyRelease (FXObject *, FXSelector, void *) |
| long | onCmdPost (FXObject *, FXSelector, void *) |
| long | onCmdUnpost (FXObject *, FXSelector, void *) |
| long | onQueryHelp (FXObject *, FXSelector, void *) |
| long | onQueryTip (FXObject *, FXSelector, void *) |
| long | onCmdSetValue (FXObject *, FXSelector, void *) |
| long | onCmdSetIntValue (FXObject *, FXSelector, void *) |
| long | onCmdGetIntValue (FXObject *, FXSelector, void *) |
| long | onMouseWheel (FXObject *, FXSelector, void *) |
| 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 | layout () |
| Perform layout. | |
| 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. | |
| FXOption * | getItem (FXint index) const |
| Return the option item at the given index. | |
| void | setCurrent (FXOption *win, FXbool notify=false) |
| Set the current option. | |
| FXOption * | getCurrent () const |
| Return the current option. | |
| void | setCurrentNo (FXint no, FXbool notify=false) |
| Set the current option number. | |
| FXint | getCurrentNo () const |
| Get the current option number. | |
| FXint | getNumOptions () const |
| Get number of options. | |
| void | setMenu (FXPopup *pup) |
| Set the pane which will be popped up. | |
| FXPopup * | getMenu () 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. | |
Protected Attributes | |
| FXPopup * | pane |
| FXOption * | current |
Option Menu.
|
|