[][src]Trait leftwm::display_servers::DisplayServer

pub trait DisplayServer {
    fn new(config: &Config) -> Self;
fn get_next_events(&mut self) -> Vec<DisplayEvent>; fn update_theme_settings(&mut self, _settings: ThemeSetting) { ... }
fn update_windows(&self, _windows: Vec<&Window>, _focused: Option<&Window>) { ... }
fn update_workspaces(
        &self,
        _windows: Vec<&Workspace>,
        _focused: Option<&Workspace>
    ) { ... }
fn execute_action(&mut self, _act: DisplayAction) -> Option<DisplayEvent> { ... } }

Required methods

fn new(config: &Config) -> Self

fn get_next_events(&mut self) -> Vec<DisplayEvent>

Loading content...

Provided methods

fn update_theme_settings(&mut self, _settings: ThemeSetting)

fn update_windows(&self, _windows: Vec<&Window>, _focused: Option<&Window>)

fn update_workspaces(
    &self,
    _windows: Vec<&Workspace>,
    _focused: Option<&Workspace>
)

fn execute_action(&mut self, _act: DisplayAction) -> Option<DisplayEvent>

Loading content...

Implementors

impl DisplayServer for MockDisplayServer[src]

impl DisplayServer for XlibDisplayServer[src]

Loading content...