logo

Trait penrose::draw::HookableWidget[][src]

pub trait HookableWidget<X>: Hook<X> + Widget where
    X: XConn
{ }
Expand description

A status bar Widget that can be automatically rendered using a DrawContext when triggered via WindowManager Hook calls.

HookableWidgets should not be manually registered as hooks: they will be automatically registered by the StatusBar containing them on startup.

Implementors