[−][src]Macro gtk_fnonce_on_eventloop::widget_refs
Create a struct Structname with the given fields. Also
implement From<gtk::Builder> for this struct and
a function for each field that returns a .clone()
ed widget.
Example usage
widget_refs!(WigdetRefs; main_window : gtk::Window, ... );
Generated items
pub struct WidgetRefs { pub main_window : gtk::Window, ... } impl From<>k::Builder> for WidgetRefs { ... }; impl WidgetRefs { fn main_window() -> gtk::Window { } ... }