![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
|
#include <FXMenuTitle.h>
Public Member Functions | |
| FXMenuTitle (FXComposite *p, const FXString &text, FXIcon *ic=NULL, FXPopup *pup=NULL, FXuint opts=0) | |
| virtual void | create () |
| virtual void | detach () |
| virtual FXint | getDefaultWidth () |
| virtual FXint | getDefaultHeight () |
| virtual bool | canFocus () const |
| virtual void | setFocus () |
| virtual void | killFocus () |
| void | setMenu (FXPopup *menu) |
| FXPopup * | getMenu () const |
| virtual bool | contains (FXint parentx, FXint parenty) const |
| virtual void | save (FXStream &store) const |
| virtual void | load (FXStream &store) |
| virtual | ~FXMenuTitle () |
A menu title is a child of a menu bar which is responsible for popping up a pulldown menu.
| FX::FXMenuTitle::FXMenuTitle | ( | FXComposite * | p, |
| const FXString & | text, | ||
| FXIcon * | ic = NULL, |
||
| FXPopup * | pup = NULL, |
||
| FXuint | opts = 0 |
||
| ) |
Constructor.
| virtual FX::FXMenuTitle::~FXMenuTitle | ( | ) | [virtual] |
Destructor.
| virtual void FX::FXMenuTitle::create | ( | ) | [virtual] |
Create server-side resources.
Reimplemented from FX::FXMenuCaption.
| virtual void FX::FXMenuTitle::detach | ( | ) | [virtual] |
Detach server-side resources.
Reimplemented from FX::FXMenuCaption.
| virtual FXint FX::FXMenuTitle::getDefaultWidth | ( | ) | [virtual] |
Return default width.
Reimplemented from FX::FXMenuCaption.
| virtual FXint FX::FXMenuTitle::getDefaultHeight | ( | ) | [virtual] |
Return default height.
Reimplemented from FX::FXMenuCaption.
| virtual bool FX::FXMenuTitle::canFocus | ( | ) | const [virtual] |
Yes it can receive the focus.
Reimplemented from FX::FXWindow.
| virtual void FX::FXMenuTitle::setFocus | ( | ) | [virtual] |
Move the focus to this window.
Reimplemented from FX::FXWindow.
| virtual void FX::FXMenuTitle::killFocus | ( | ) | [virtual] |
Remove the focus from this window.
Reimplemented from FX::FXWindow.
| void FX::FXMenuTitle::setMenu | ( | FXPopup * | menu | ) |
Set popup menu to pop up.
| FXPopup* FX::FXMenuTitle::getMenu | ( | ) | const [inline] |
Return popup menu.
| virtual bool FX::FXMenuTitle::contains | ( | FXint | parentx, |
| FXint | parenty | ||
| ) | const [virtual] |
True if this menu or is popup logically contains the mouse.
Reimplemented from FX::FXWindow.
| virtual void FX::FXMenuTitle::save | ( | FXStream & | store | ) | const [virtual] |
Save menu to a stream.
Reimplemented from FX::FXMenuCaption.
| virtual void FX::FXMenuTitle::load | ( | FXStream & | store | ) | [virtual] |
Load menu from a stream.
Reimplemented from FX::FXMenuCaption.
|
|