14 #ifndef _PieDock_MenuItem_
15 #define _PieDock_MenuItem_
17 #include "WindowStack.h"
30 MenuItem( std::string, std::string,
bool =
true );
33 virtual inline const std::string &getTitle()
const {
35 virtual inline void setTitle( std::string t ) { title = t; }
36 virtual inline const std::string &getCommand()
const {
38 virtual inline void setCommand( std::string c ) { command = c; }
39 virtual inline Icon *getIcon()
const {
return icon; }
40 virtual inline void setIcon(
Icon *i ) { icon = i; }
41 virtual inline const bool isSticky()
const {
return sticky; }
42 virtual inline void makeSticky() { sticky =
true; }