#include <Menu.h>
|
| Menu (Application *) |
|
void | setWindowBelowCursor (Window w) |
|
const Window & | getWindowBelowCursor () const |
|
MenuItem * | getSelected () const |
|
const std::string & | getName () const |
|
virtual bool | update (std::string, Window=0) |
|
virtual void | draw (int, int) |
|
virtual bool | change (Settings::Action=Settings::Launch) |
|
virtual void | execute (Settings::Action=Settings::Launch) |
|
virtual std::string | getItemTitle () const |
|
Initialize menu
- Parameters
-
bool Menu::change |
( |
Settings::Action |
a = Settings::Launch | ) |
|
|
virtual |
void Menu::execute |
( |
Settings::Action |
a = Settings::Launch | ) |
|
|
virtual |
std::string Menu::getItemTitle |
( |
| ) |
const |
|
virtual |
int Menu::run |
( |
std::string |
command | ) |
const |
|
protectedvirtual |
Run some command
- Parameters
-
command | - command to execute |
Referenced by execute().
bool Menu::update |
( |
std::string |
menuName, |
|
|
Window |
forWindow = 0 |
|
) |
| |
|
virtual |
Update menu
- Parameters
-
menuName | - menu name |
forWindow | - first window of a list of open windows that belong to the same application (optional) |
Reimplemented in PieDock::PieMenu.
References PieDock::WindowStack::addWindow(), PieDock::IconMap::createIcon(), PieDock::WindowManager::getActive(), PieDock::IconMap::getFillerIcon(), PieDock::IconMap::getIcon(), PieDock::WindowManager::getIcon(), PieDock::IconMap::getIconByName(), PieDock::IconMap::getMissingIcon(), PieDock::WindowManager::getTitle(), PieDock::WorkspaceLayout::getWorkspaceLayout(), PieDock::WindowManager::isNormalWindow(), PieDock::IconMap::saveIcon(), and PieDock::MenuItemWithWorkspaces::showWorkspace().
Referenced by change(), and PieDock::PieMenu::update().
The documentation for this class was generated from the following files: