![]() |
Main Page Class Hierarchy Alphabetical List Compound List File List Compound Members
![]() |
#include <FXMenuCaption.h>
The menu caption is a widget which can be used as a caption above a number of menu commands in a menu.
See also:
FX::FXMenuCaption::FXMenuCaption | ( | FXComposite * | p, |
const FXString & | text, | ||
FXIcon * | ic = NULL , |
||
FXuint | opts = 0 |
||
) |
Construct a menu caption.
virtual FX::FXMenuCaption::~FXMenuCaption | ( | ) | [virtual] |
Destructor.
virtual void FX::FXMenuCaption::create | ( | ) | [virtual] |
Create server-side resources.
Reimplemented from FX::FXWindow.
Reimplemented in FX::FXMenuTitle, and FX::FXMenuCascade.
virtual void FX::FXMenuCaption::detach | ( | ) | [virtual] |
Detach server-side resources.
Reimplemented from FX::FXWindow.
Reimplemented in FX::FXMenuTitle, and FX::FXMenuCascade.
virtual void FX::FXMenuCaption::enable | ( | ) | [virtual] |
Enable the menu.
Reimplemented from FX::FXWindow.
virtual void FX::FXMenuCaption::disable | ( | ) | [virtual] |
Disable the menu.
Reimplemented from FX::FXWindow.
virtual FXint FX::FXMenuCaption::getDefaultWidth | ( | ) | [virtual] |
Return default width.
Reimplemented from FX::FXWindow.
Reimplemented in FX::FXMenuTitle, FX::FXMenuRadio, FX::FXMenuCheck, and FX::FXMenuCommand.
virtual FXint FX::FXMenuCaption::getDefaultHeight | ( | ) | [virtual] |
Return default height.
Reimplemented from FX::FXWindow.
Reimplemented in FX::FXMenuTitle, FX::FXMenuRadio, FX::FXMenuCheck, and FX::FXMenuCommand.
void FX::FXMenuCaption::setText | ( | const FXString & | text | ) |
Set the text for this menu.
FXString FX::FXMenuCaption::getText | ( | ) | const [inline] |
Get the text for this menu.
void FX::FXMenuCaption::setIcon | ( | FXIcon * | ic | ) |
Set the icon for this menu.
FXIcon* FX::FXMenuCaption::getIcon | ( | ) | const [inline] |
Get the icon for this menu.
void FX::FXMenuCaption::setFont | ( | FXFont * | fnt | ) |
Set the text font.
FXFont* FX::FXMenuCaption::getFont | ( | ) | const [inline] |
Return the text font.
void FX::FXMenuCaption::setMenuStyle | ( | FXuint | style | ) |
Set menu caption style.
FXuint FX::FXMenuCaption::getMenuStyle | ( | ) | const |
Get menu caption style.
void FX::FXMenuCaption::setTextColor | ( | FXColor | clr | ) |
Return the current text color.
FXColor FX::FXMenuCaption::getTextColor | ( | ) | const [inline] |
Get the current text color.
void FX::FXMenuCaption::setSelBackColor | ( | FXColor | clr | ) |
Return the selection background color.
FXColor FX::FXMenuCaption::getSelBackColor | ( | ) | const [inline] |
Return the selection background color.
void FX::FXMenuCaption::setSelTextColor | ( | FXColor | clr | ) |
Return the selection text color.
FXColor FX::FXMenuCaption::getSelTextColor | ( | ) | const [inline] |
Return the selection text color.
void FX::FXMenuCaption::setHiliteColor | ( | FXColor | clr | ) |
Change highlight color.
FXColor FX::FXMenuCaption::getHiliteColor | ( | ) | const [inline] |
Get highlight color.
void FX::FXMenuCaption::setShadowColor | ( | FXColor | clr | ) |
Change shadow color.
FXColor FX::FXMenuCaption::getShadowColor | ( | ) | const [inline] |
Get shadow color.
void FX::FXMenuCaption::setHelpText | ( | const FXString & | text | ) |
Set the status line help text for this menu.
const FXString& FX::FXMenuCaption::getHelpText | ( | ) | const [inline] |
Get the status line help text for this menu.
void FX::FXMenuCaption::setTipText | ( | const FXString & | text | ) | [inline] |
Set the tool tip message for this menu.
const FXString& FX::FXMenuCaption::getTipText | ( | ) | const [inline] |
Get the tool tip message for this menu.
virtual void FX::FXMenuCaption::save | ( | FXStream & | store | ) | const [virtual] |
Save menu to a stream.
Reimplemented from FX::FXWindow.
Reimplemented in FX::FXMenuTitle, FX::FXMenuCascade, FX::FXMenuRadio, FX::FXMenuCheck, and FX::FXMenuCommand.
virtual void FX::FXMenuCaption::load | ( | FXStream & | store | ) | [virtual] |
Load menu from a stream.
Reimplemented from FX::FXWindow.
Reimplemented in FX::FXMenuTitle, FX::FXMenuCascade, FX::FXMenuRadio, FX::FXMenuCheck, and FX::FXMenuCommand.
![]() |