Macro fltk::widget_extends[][src]

macro_rules! widget_extends {
    ($widget : ty, $base : ty, $member : tt) => { ... };
}
Expand description

Defines a set of convenience functions for constructing and anchoring custom widgets. Usage: fltk::widget_extends!(CustomWidget, BaseWidget, member); It basically implements Deref and DerefMut on the custom widget, and adds the aforementioned methods.