aboutsummaryrefslogtreecommitdiff
path: root/src/FbTk/MenuItem.cc
diff options
context:
space:
mode:
authorfluxgen <fluxgen>2005-06-23 03:09:39 (GMT)
committerfluxgen <fluxgen>2005-06-23 03:09:39 (GMT)
commit0df6609bb94ae51e3fd6f18b1c05667653dfb37f (patch)
tree023490c10cf3f5c17ba88ad5be925aae43a11bd0 /src/FbTk/MenuItem.cc
parent5373f6d840abaa49685c15fee2f411e77472a7da (diff)
downloadfluxbox-0df6609bb94ae51e3fd6f18b1c05667653dfb37f.zip
fluxbox-0df6609bb94ae51e3fd6f18b1c05667653dfb37f.tar.bz2
added showSubmenu in MenuItem
Diffstat (limited to 'src/FbTk/MenuItem.cc')
-rw-r--r--src/FbTk/MenuItem.cc6
1 files changed, 6 insertions, 0 deletions
diff --git a/src/FbTk/MenuItem.cc b/src/FbTk/MenuItem.cc
index 1ed3ebd..ee40f63 100644
--- a/src/FbTk/MenuItem.cc
+++ b/src/FbTk/MenuItem.cc
@@ -29,6 +29,7 @@
29#include "Image.hh" 29#include "Image.hh"
30#include "App.hh" 30#include "App.hh"
31#include "StringUtil.hh" 31#include "StringUtil.hh"
32#include "Menu.hh"
32 33
33namespace FbTk { 34namespace FbTk {
34 35
@@ -297,4 +298,9 @@ void MenuItem::updateTheme(const MenuTheme &theme) {
297 298
298} 299}
299 300
301void MenuItem::showSubmenu() {
302 if (submenu() != 0)
303 submenu()->show();
304}
305
300}; // end namespace FbTk 306}; // end namespace FbTk