Macro gabelstaplerwm::push_tagset
[−]
[src]
macro_rules! push_tagset { ($index:expr;; $print:expr) => { ... }; ($index:expr $(; $print:expr)*) => { ... }; }
View a tagset by pushing it by index on the history stack.
Returns a closure for use with bind!
.
Usage
The push_tagset!
macro expects the index of the tagset to be focused.
The returned closure makes that tagset the current tagset and modifies
the history stack accordingly, if it isn't on top already.
As always, the last parameter(s) specify objects to be printed after completion of the action.