Enum gabelstaplerwm::wm::layout::LayoutMessage
[−]
[src]
pub enum LayoutMessage { MasterFactorAbs(u8), MasterFactorRel(i8), FixedAbs(bool), FixedRel, InvertedAbs(bool), InvertedRel, XOffAbs(u32), XOffRel(i32), YOffAbs(u32), YOffRel(i32), ColumnAbs(u8), ColumnRel(i8), }
A message type being sent to layout objects.
Introduced to allow for type- and implementation-independent layout editing from keybindings and other code. Layout implementations can choose to react to any subset of the message variants below, or none at all.
Variants
MasterFactorAbs(u8)
Set absolute value of the master factor.
MasterFactorRel(i8)
Add an offset to the master factor.
FixedAbs(bool)
Set fixed
attribute of layout.
FixedRel
Toggle fixed
attribute of layout.
InvertedAbs(bool)
Set inverted
attribute of layout.
InvertedRel
Toggle inverted
attribute of layout.
XOffAbs(u32)
Set absolute value of the x offset.
XOffRel(i32)
Add an offset to the x offset.
YOffAbs(u32)
Set absolute value of the y offset.
YOffRel(i32)
Add an offset to the y offset.
ColumnAbs(u8)
Set absolute value of the column amount.
ColumnRel(i8)
Add an offset to the column amount.
Trait Implementations
impl Debug for LayoutMessage
[src]
impl PartialEq for LayoutMessage
[src]
fn eq(&self, __arg_0: &LayoutMessage) -> bool
This method tests for self
and other
values to be equal, and is used by ==
. Read more
fn ne(&self, __arg_0: &LayoutMessage) -> bool
This method tests for !=
.