PieDock  1.6.3
Public Member Functions | List of all members
PieDock::MenuItem Class Reference

#include <MenuItem.h>

Inheritance diagram for PieDock::MenuItem:
Inheritance graph
Collaboration diagram for PieDock::MenuItem:
Collaboration graph

Public Member Functions

 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 IcongetIcon () const
virtual void setIcon (Icon *i)
virtual const bool isSticky () const
virtual void makeSticky ()
- Public Member Functions inherited from PieDock::WindowStack
WindowInfos & getWindowInfos ()
const bool hasWindows () const
void clearWindows ()
void addWindow (Display *, Window)
const Window getNextWindow ()
const Window getPreviousWindow ()
const bool isUnmapped ()

Additional Inherited Members

- Public Types inherited from PieDock::WindowStack
typedef std::vector< WindowInfoWindowInfos

Detailed Description

Menu item

Markus Fisch mf@ma.nosp@m.rkus.nosp@m.fisch.nosp@m..de

Constructor & Destructor Documentation

MenuItem::MenuItem ( std::string  t,
std::string  c,
bool  s = true 

Create a new menu item without pre-defined icon

t- title
c- command
s- true if sticky (optional)
MenuItem::MenuItem ( Icon i)

Create menu item from icon

i- icon

The documentation for this class was generated from the following files: