Struct leechbar::Bar
[−]
[src]
pub struct Bar { /* fields omitted */ }
The main bar.
Methods
impl Bar
[src]
fn start_event_loop(&self)
[src]
Start the event loop of the bar. This handles all X.Org events and is blocking.
It must be called after adding all your components.
fn propagate_event(&self, event: Event)
[src]
fn add<T: 'static + Component + Send>(&mut self, component: T)
[src]
Add a new component to the bar.