#include <MenuItem.h>
|
| MenuItem (std::string, std::string, bool=true) |
|
| MenuItem (Icon *) |
|
virtual const std::string & | getTitle () const |
|
virtual void | setTitle (std::string t) |
|
virtual const std::string & | getCommand () const |
|
virtual void | setCommand (std::string c) |
|
virtual Icon * | getIcon () const |
|
virtual void | setIcon (Icon *i) |
|
virtual const bool | isSticky () const |
|
virtual void | makeSticky () |
|
WindowInfos & | getWindowInfos () |
|
const bool | hasWindows () const |
|
void | clearWindows () |
|
void | addWindow (Display *, Window) |
|
const Window | getNextWindow () |
|
const Window | getPreviousWindow () |
|
const bool | isUnmapped () |
|
MenuItem::MenuItem |
( |
std::string |
t, |
|
|
std::string |
c, |
|
|
bool |
s = true |
|
) |
| |
Create a new menu item without pre-defined icon
- Parameters
-
t | - title |
c | - command |
s | - true if sticky (optional) |
MenuItem::MenuItem |
( |
Icon * |
i | ) |
|
Create menu item from icon
- Parameters
-
The documentation for this class was generated from the following files: