diff options
author | Thomas Lübking <thomas.luebking@gmail.com> | 2016-06-29 15:27:28 (GMT) |
---|---|---|
committer | Mathias Gumz <akira@fluxbox.org> | 2016-08-26 06:18:48 (GMT) |
commit | fbb2d16639491fdb0c49e388278fabcc4b0800f3 (patch) | |
tree | b216515b1265dd6164722ebd77ff580738dfc9a0 /src/Toolbar.hh | |
parent | 393ba45f91480bb10f510248837c6051b7ff6a03 (diff) | |
download | fluxbox-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.hh | 2 |
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; | |||
53 | namespace FbTk { | 53 | namespace FbTk { |
54 | class ImageControl; | 54 | class ImageControl; |
55 | class Shape; | 55 | class Shape; |
56 | class 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 | ||