Trait fltk::prelude::WidgetBase [−][src]
pub unsafe trait WidgetBase: WidgetExt { fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Self; fn delete(wid: Self)
where
Self: Sized; unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self; unsafe fn from_widget<W: WidgetExt>(w: W) -> Self; fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F); fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F); unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>; unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>; }
Expand description
Defines the extended methods implemented by all widgets
Required methods
fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Self
[src]
fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Self
[src]Creates a new widget, takes an x, y coordinates, as well as a width and height, plus a title
Arguments
x
- The x coordinate in the screeny
- The y coordinate in the screenwidth
- The width of the widgetheigth
- The height of the widgettitle
- The title or label of the widget labels support special symbols preceded by an@
sign. and for the associated formatting.
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]Set a custom handler, where events are managed manually, akin to Fl_Widget::handle(int)
.
Handled or ignored events should return true, unhandled events should return false.
takes the widget as a closure argument
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]Set a custom draw method.
takes the widget as a closure argument.
macOS requires that WidgetBase::draw
actually calls drawing functions
Implementors
impl WidgetBase for Browser
[src]
impl WidgetBase for Browser
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Browser
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Browser
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for CheckBrowser
[src]
impl WidgetBase for CheckBrowser
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> CheckBrowser
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> CheckBrowser
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for FileBrowser
[src]
impl WidgetBase for FileBrowser
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> FileBrowser
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> FileBrowser
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for HoldBrowser
[src]
impl WidgetBase for HoldBrowser
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> HoldBrowser
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> HoldBrowser
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for MultiBrowser
[src]
impl WidgetBase for MultiBrowser
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> MultiBrowser
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> MultiBrowser
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for SelectBrowser
[src]
impl WidgetBase for SelectBrowser
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> SelectBrowser
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> SelectBrowser
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for Button
[src]
impl WidgetBase for Button
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Button
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Button
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for CheckButton
[src]
impl WidgetBase for CheckButton
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> CheckButton
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> CheckButton
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for LightButton
[src]
impl WidgetBase for LightButton
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> LightButton
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> LightButton
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for RadioButton
[src]
impl WidgetBase for RadioButton
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> RadioButton
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> RadioButton
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for RadioLightButton
[src]
impl WidgetBase for RadioLightButton
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> RadioLightButton
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> RadioLightButton
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for RadioRoundButton
[src]
impl WidgetBase for RadioRoundButton
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> RadioRoundButton
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> RadioRoundButton
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for RepeatButton
[src]
impl WidgetBase for RepeatButton
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> RepeatButton
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> RepeatButton
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for ReturnButton
[src]
impl WidgetBase for ReturnButton
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> ReturnButton
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> ReturnButton
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for RoundButton
[src]
impl WidgetBase for RoundButton
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> RoundButton
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> RoundButton
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for ToggleButton
[src]
impl WidgetBase for ToggleButton
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> ToggleButton
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> ToggleButton
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for Frame
[src]
impl WidgetBase for Frame
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Frame
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Frame
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for ColorChooser
[src]
impl WidgetBase for ColorChooser
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> ColorChooser
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> ColorChooser
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for Group
[src]
impl WidgetBase for Group
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Group
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Group
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for Pack
[src]
impl WidgetBase for Pack
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Pack
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Pack
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for Scroll
[src]
impl WidgetBase for Scroll
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Scroll
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Scroll
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for Tabs
[src]
impl WidgetBase for Tabs
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Tabs
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Tabs
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for Tile
[src]
impl WidgetBase for Tile
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Tile
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Tile
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for Wizard
[src]
impl WidgetBase for Wizard
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Wizard
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Wizard
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for FileInput
[src]
impl WidgetBase for FileInput
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> FileInput
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> FileInput
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for FloatInput
[src]
impl WidgetBase for FloatInput
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> FloatInput
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> FloatInput
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for Input
[src]
impl WidgetBase for Input
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Input
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Input
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for IntInput
[src]
impl WidgetBase for IntInput
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> IntInput
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> IntInput
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for MultilineInput
[src]
impl WidgetBase for MultilineInput
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> MultilineInput
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> MultilineInput
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for SecretInput
[src]
impl WidgetBase for SecretInput
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> SecretInput
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> SecretInput
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for Choice
[src]
impl WidgetBase for Choice
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Choice
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Choice
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for MenuBar
[src]
impl WidgetBase for MenuBar
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> MenuBar
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> MenuBar
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for MenuButton
[src]
impl WidgetBase for MenuButton
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> MenuButton
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> MenuButton
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for SysMenuBar
[src]
impl WidgetBase for SysMenuBar
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> SysMenuBar
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> SysMenuBar
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for Chart
[src]
impl WidgetBase for Chart
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Chart
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Chart
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for Clock
[src]
impl WidgetBase for Clock
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Clock
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Clock
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for HelpView
[src]
impl WidgetBase for HelpView
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> HelpView
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> HelpView
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for InputChoice
[src]
impl WidgetBase for InputChoice
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> InputChoice
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> InputChoice
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for Progress
[src]
impl WidgetBase for Progress
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Progress
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Progress
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for Spinner
[src]
impl WidgetBase for Spinner
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Spinner
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Spinner
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for MultilineOutput
[src]
impl WidgetBase for MultilineOutput
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> MultilineOutput
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> MultilineOutput
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for Output
[src]
impl WidgetBase for Output
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Output
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Output
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for Table
[src]
impl WidgetBase for Table
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Table
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Table
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for TableRow
[src]
impl WidgetBase for TableRow
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> TableRow
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> TableRow
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for SimpleTerminal
[src]
impl WidgetBase for SimpleTerminal
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> SimpleTerminal
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> SimpleTerminal
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for TextDisplay
[src]
impl WidgetBase for TextDisplay
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> TextDisplay
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> TextDisplay
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for TextEditor
[src]
impl WidgetBase for TextEditor
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> TextEditor
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> TextEditor
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for Tree
[src]
impl WidgetBase for Tree
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Tree
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Tree
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for Adjuster
[src]
impl WidgetBase for Adjuster
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Adjuster
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Adjuster
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for Counter
[src]
impl WidgetBase for Counter
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Counter
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Counter
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for Dial
[src]
impl WidgetBase for Dial
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Dial
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Dial
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for FillDial
[src]
impl WidgetBase for FillDial
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> FillDial
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> FillDial
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for FillSlider
[src]
impl WidgetBase for FillSlider
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> FillSlider
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> FillSlider
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for HorFillSlider
[src]
impl WidgetBase for HorFillSlider
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> HorFillSlider
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> HorFillSlider
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for HorNiceSlider
[src]
impl WidgetBase for HorNiceSlider
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> HorNiceSlider
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> HorNiceSlider
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for HorSlider
[src]
impl WidgetBase for HorSlider
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> HorSlider
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> HorSlider
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for HorValueSlider
[src]
impl WidgetBase for HorValueSlider
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> HorValueSlider
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> HorValueSlider
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for LineDial
[src]
impl WidgetBase for LineDial
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> LineDial
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> LineDial
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for NiceSlider
[src]
impl WidgetBase for NiceSlider
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> NiceSlider
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> NiceSlider
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for Roller
[src]
impl WidgetBase for Roller
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Roller
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Roller
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for Scrollbar
[src]
impl WidgetBase for Scrollbar
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Scrollbar
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Scrollbar
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for Slider
[src]
impl WidgetBase for Slider
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Slider
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Slider
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for ValueInput
[src]
impl WidgetBase for ValueInput
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> ValueInput
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> ValueInput
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for ValueOutput
[src]
impl WidgetBase for ValueOutput
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> ValueOutput
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> ValueOutput
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for ValueSlider
[src]
impl WidgetBase for ValueSlider
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> ValueSlider
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> ValueSlider
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for Widget
[src]
impl WidgetBase for Widget
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Widget
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> Widget
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for DoubleWindow
[src]
impl WidgetBase for DoubleWindow
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> DoubleWindow
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> DoubleWindow
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for GlWindow
[src]
impl WidgetBase for GlWindow
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> GlWindow
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> GlWindow
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for GlutWindow
[src]
impl WidgetBase for GlutWindow
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> GlutWindow
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> GlutWindow
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for MenuWindow
[src]
impl WidgetBase for MenuWindow
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> MenuWindow
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> MenuWindow
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for OverlayWindow
[src]
impl WidgetBase for OverlayWindow
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> OverlayWindow
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> OverlayWindow
fn delete(wid: Self)
[src]
unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
unsafe fn from_widget<W: WidgetExt>(w: W) -> Self
[src]
fn handle<F: FnMut(&mut Self, Event) -> bool + 'static>(&mut self, cb: F)
[src]
fn draw<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>
[src]
unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>
[src]
impl WidgetBase for SingleWindow
[src]
impl WidgetBase for SingleWindow
[src]fn new<T: Into<Option<&'static str>>>(
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> SingleWindow
[src]
x: i32,
y: i32,
width: i32,
height: i32,
title: T
) -> SingleWindow