|
Called when the item was clicked with a specific button - Parameters:
-
| button | the button number |
| time | the time stamp |
Reimplemented in BoolMenuItem, IntResMenuItem, LayerMenuItem< ItemType >, XineramaHeadMenuItem< ItemType >, and FbTk::MultiButtonMenuItem.
Definition at line 29 of file MenuItem.cc.
References FbTk::RefCount< Command >::get().
Referenced by XineramaHeadMenuItem< ItemType >::click(), LayerMenuItem< ItemType >::click(), and BoolMenuItem::click().
00029 {
00030 if (m_command.get() != 0)
00031 m_command->execute();
00032 }
|