aboutsummaryrefslogtreecommitdiff
path: root/src/Toolbar.hh
diff options
context:
space:
mode:
authorThomas Lübking <thomas.luebking@gmail.com>2016-06-29 15:27:28 (GMT)
committerMathias Gumz <akira@fluxbox.org>2016-08-26 06:18:48 (GMT)
commitfbb2d16639491fdb0c49e388278fabcc4b0800f3 (patch)
treeb216515b1265dd6164722ebd77ff580738dfc9a0 /src/Toolbar.hh
parent393ba45f91480bb10f510248837c6051b7ff6a03 (diff)
downloadfluxbox-fbb2d16639491fdb0c49e388278fabcc4b0800f3.zip
fluxbox-fbb2d16639491fdb0c49e388278fabcc4b0800f3.tar.bz2
allow to alter button labels via fluxbox-remote
Command is "RelabelButton button.foo $LABEL" This is useful to eg. hint the amount of unread mails in a button to start your MUA, reflect the $USER in a session menu button etc.
Diffstat (limited to 'src/Toolbar.hh')
-rw-r--r--src/Toolbar.hh2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Toolbar.hh b/src/Toolbar.hh
index c31a85f..919b22f 100644
--- a/src/Toolbar.hh
+++ b/src/Toolbar.hh
@@ -53,6 +53,7 @@ class ToolbarItem;
53namespace FbTk { 53namespace FbTk {
54class ImageControl; 54class ImageControl;
55class Shape; 55class Shape;
56class TextButton;
56} 57}
57 58
58/// The toolbar. 59/// The toolbar.
@@ -100,6 +101,7 @@ public:
100 void handleEvent(XEvent &event); 101 void handleEvent(XEvent &event);
101 //@} 102 //@}
102 103
104 void relayout();
103 void reconfigure(); 105 void reconfigure();
104 void setPlacement(Placement where); 106 void setPlacement(Placement where);
105 107