[−][src]Trait i3status_rs::blocks::keyboard_layout::KeyboardLayoutMonitor
Required methods
fn keyboard_layout(&self) -> Result<String, Error>
[src]
Retrieve the current keyboard layout.
fn keyboard_variant(&self) -> Result<String, Error>
[src]
Retrieve the current keyboard variant.
fn must_poll(&self) -> bool
[src]
Specify that the monitor does not send update requests and must be polled manually.
Provided methods
fn monitor(&self, _id: usize, _update_request: Sender<Task>)
[src]
Monitor layout changes and send updates via the update_request
channel. By default, this method does nothing.
Implementors
impl KeyboardLayoutMonitor for KbdDaemonBus
[src]
fn keyboard_layout(&self) -> Result<String, Error>
[src]
fn keyboard_variant(&self) -> Result<String, Error>
[src]
fn must_poll(&self) -> bool
[src]
fn monitor(&self, id: usize, update_request: Sender<Task>)
[src]
impl KeyboardLayoutMonitor for LocaleBus
[src]
fn keyboard_layout(&self) -> Result<String, Error>
[src]
fn keyboard_variant(&self) -> Result<String, Error>
[src]
fn must_poll(&self) -> bool
[src]
fn monitor(&self, id: usize, update_request: Sender<Task>)
[src]
Monitor Locale property changes in a separate thread and send updates
via the update_request
channel.