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]

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 screen
  • y - The y coordinate in the screen
  • width - The width of the widget
  • heigth - The height of the widget
  • title - The title or label of the widget labels support special symbols preceded by an @ sign. and for the associated formatting.

fn delete(wid: Self) where
    Self: Sized
[src]

Deletes widgets and their children.

unsafe fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self[src]

transforms a widget pointer to a Widget, for internal use

Safety

The pointer must be valid

unsafe fn from_widget<W: WidgetExt>(w: W) -> Self[src]

Get a widget from base widget

Safety

The underlying object must be valid

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]

Set a custom draw method. takes the widget as a closure argument. macOS requires that WidgetBase::draw actually calls drawing functions

unsafe fn draw_data(&mut self) -> Option<Box<dyn FnMut()>>[src]

INTERNAL: Retrieve the draw data

Safety

Can return multiple mutable references to the draw_data

unsafe fn handle_data(&mut self) -> Option<Box<dyn FnMut(Event) -> bool>>[src]

INTERNAL: Retrieve the handle data

Safety

Can return multiple mutable references to the handle_data

Implementors

impl WidgetBase for Browser[src]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> Browser
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> CheckBrowser
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> FileBrowser
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> HoldBrowser
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> MultiBrowser
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> SelectBrowser
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> Button
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> CheckButton
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> LightButton
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> RadioButton
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> RadioLightButton
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> RadioRoundButton
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> RepeatButton
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> ReturnButton
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> RoundButton
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> ToggleButton
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> Frame
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> ColorChooser
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> Group
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> Pack
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> Scroll
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> Tabs
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> Tile
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> Wizard
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> FileInput
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> FloatInput
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> Input
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> IntInput
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> MultilineInput
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> SecretInput
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> Choice
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> MenuBar
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> MenuButton
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> SysMenuBar
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> Chart
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> Clock
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> HelpView
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> InputChoice
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> Progress
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> Spinner
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> MultilineOutput
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> Output
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> Table
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> TableRow
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> SimpleTerminal
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> TextDisplay
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> TextEditor
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> Tree
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> Adjuster
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> Counter
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> Dial
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> FillDial
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> FillSlider
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> HorFillSlider
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> HorNiceSlider
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> HorSlider
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> HorValueSlider
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> LineDial
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> NiceSlider
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> Roller
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> Scrollbar
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> Slider
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> ValueInput
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> ValueOutput
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> ValueSlider
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> Widget
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> DoubleWindow
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> GlWindow
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> GlutWindow
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> MenuWindow
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> OverlayWindow
[src]

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]

fn new<T: Into<Option<&'static str>>>(
    x: i32,
    y: i32,
    width: i32,
    height: i32,
    title: T
) -> SingleWindow
[src]

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]