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

Set absolute value of the master factor.

Add an offset to the master factor.

Set fixed attribute of layout.

Toggle fixed attribute of layout.

Set inverted attribute of layout.

Toggle inverted attribute of layout.

Set absolute value of the x offset.

Add an offset to the x offset.

Set absolute value of the y offset.

Add an offset to the y offset.

Set absolute value of the column amount.

Add an offset to the column amount.

Trait Implementations

impl Debug for LayoutMessage
[src]

Formats the value using the given formatter.

impl PartialEq for LayoutMessage
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

impl Eq for LayoutMessage
[src]