Macro gabelstaplerwm::change_layout
[−]
[src]
macro_rules! change_layout { ($layout:expr;; $print:expr) => { ... }; ($layout:expr $(; $print:expr)*) => { ... }; }
Change the current layout ot something different.
Returns a closure for use with bind!.
Usage
The change_layout! macro expects an expression of a type implementing
the Layout trait, which is then used to replace the layout of the
currently viewed TagSet.
As always, the last parameter(s) specify objects to be printed after completion of the action.