[][src]Trait wlroots::output::layout::Handler

pub trait Handler {
    fn output_added<'this>(
        &'this mut self,
        compositor_handle: Handle,
        layout_handle: Handle,
        output: Output<'this>
    ) { ... }
fn output_removed<'this>(
        &'this mut self,
        compositor_handle: Handle,
        layout_handle: Handle,
        output: Output<'this>
    ) { ... }
fn on_change<'this>(
        &mut self,
        compositor_handle: Handle,
        layout_handle: Handle,
        output: Output<'this>
    ) { ... } }

Provided Methods

Callback that's triggered when an output is added to the output layout.

Callback that's triggered when an output is removed from the output layout.

Callback that's triggered when the layout changes.

Implementors