[−][src]Trait fltk::prelude::WidgetExt
Defines the methods implemented by all widgets
Required methods
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> Self
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
fn default() -> Self
Creates a default and zero initialized widget
fn with_pos(self, x: i32, y: i32) -> Self
Initialize to position x, y
fn with_size(self, width: i32, height: i32) -> Self
Initialilze to dimensions width and height
fn with_label(self, title: &str) -> Self
Initialize with label/title
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
Positions the widget below w
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
Positions the widget above w
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
Positions the widget to the right of w
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
Positions the widget to the left of w
fn center_of<W: WidgetExt>(self, w: &W) -> Self
Positions the widget to the center of w
fn size_of<W: WidgetExt>(self, w: &W) -> Self
Takes the size of w
fn set_label(&mut self, title: &str)
Sets the widget's label
fn redraw(&mut self)
Redraws a widget, necessary for resizing and changing positions
fn show(&mut self)
Shows the widget
fn hide(&mut self)
Hides the widget
fn x(&self) -> i32
Returns the x coordinate of the widget
fn y(&self) -> i32
Returns the y coordinate of the widget
fn width(&self) -> i32
Returns the width of the widget
fn height(&self) -> i32
Returns the height of the widget
fn label(&self) -> String
Returns the label of the widget
fn as_widget_ptr(&self) -> *mut Fl_Widget
transforms a widget to a base Fl_Widget, for internal use
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
transforms a widget pointer to a Widget, for internal use
fn activate(&mut self)
Activates the widget
fn deactivate(&mut self)
Deactivates the widget
fn redraw_label(&mut self)
Redraws the label of the widget
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
Resizes and/or moves the widget, takes x, y, width and height
fn tooltip(&self) -> Option<String>
Returns the tooltip text
fn set_tooltip(&mut self, txt: &str)
Sets the tooltip text
fn get_type<T: WidgetType>(&self) -> T
Returns the widget type when applicable
fn set_type<T: WidgetType>(&mut self, typ: T)
Sets the widget type
fn color(&self) -> Color
Returns the widget color
fn set_color(&mut self, color: Color)
Sets the widget's color
fn label_color(&self) -> Color
Returns the widget label's color
fn set_label_color(&mut self, color: Color)
Sets the widget label's color
fn label_font(&self) -> Font
Returns the widget label's font
fn set_label_font(&mut self, font: Font)
Sets the widget label's font
fn label_size(&self) -> i32
Returns the widget label's size
fn set_label_size(&mut self, sz: i32)
Sets the widget label's size
fn label_type<T: WidgetType>(&self) -> T
Returns the widget label's type
fn set_label_type<T: WidgetType>(&mut self, typ: T)
Sets the widget label's type
fn frame<T: WidgetType>(&self) -> T
Returns the widget's frame type
fn set_frame<T: WidgetType>(&mut self, typ: T)
Sets the widget's frame type
fn changed(&self) -> bool
Returns whether the widget was changed
fn set_changed(&mut self)
Mark the widget as changed
fn clear_changed(&mut self)
Clears the changed status of the widget
fn align(&self) -> Align
Returns the alignment of the widget
fn set_align(&mut self, align: Align)
Sets the alignment of the widget
fn set_image<Image: ImageExt>(&mut self, image: &Image)
Sets the image of the widget
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
&mut self,
image: &Image,
w: i32,
h: i32
)
Sets the resized image of the widget
fn image(&self) -> Option<Image>
Gets the image associated with the widget
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
Sets the callback when the widget is triggered (clicks for example)
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
Set a custom handler, where events are managed manually, akin to Fl_Widget::handle(int) Handled or ignored events shoult return true, unhandled events should return false
fn set_trigger(&mut self, trigger: CallbackTrigger)
Sets the default callback trigger for a widget
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
Set a custom draw method
fn parent(&self) -> Option<Widget>
Returns the parent of the widget
fn selection_color(&mut self) -> Color
Gets the selection color of the widget
fn set_selection_color(&mut self, color: Color)
Sets the selection color of the widget
fn do_callback(&mut self)
Runs the already registered callback
fn inside(&self, wid: Widget) -> bool
Checks whether the self widget is inside another widget
fn window(&self) -> Option<Window>
Returns the direct window holding the widget
fn top_window(&self) -> Option<Window>
Returns the topmost window holding the widget
fn takes_events(&self) -> bool
Checks whether a widget is capable of taking events
Implementors
impl WidgetExt for Browser
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> Browser
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for FileBrowser
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> FileBrowser
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for HoldBrowser
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> HoldBrowser
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for MultiBrowser
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> MultiBrowser
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for SelectBrowser
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> SelectBrowser
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for Button
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> Button
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for CheckButton
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> CheckButton
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for LightButton
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> LightButton
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for RadioButton
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> RadioButton
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for RepeatButton
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> RepeatButton
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for ReturnButton
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> ReturnButton
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for RoundButton
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> RoundButton
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for ToggleButton
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> ToggleButton
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for Frame
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> Frame
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for ColorChooser
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> ColorChooser
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for Group
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> Group
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for Pack
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> Pack
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for Scroll
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> Scroll
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for Tabs
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> Tabs
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for Tile
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> Tile
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for FileInput
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> FileInput
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for FloatInput
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> FloatInput
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for Input
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> Input
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for IntInput
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> IntInput
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for MultilineInput
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> MultilineInput
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for SecretInput
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> SecretInput
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for Choice
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> Choice
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for MenuBar
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> MenuBar
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for MenuButton
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> MenuButton
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for Chart
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> Chart
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for Clock
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> Clock
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for Progress
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> Progress
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for Spinner
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> Spinner
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for MultilineOutput
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> MultilineOutput
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for Output
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> Output
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for Table
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> Table
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for TableRow
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> TableRow
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for SimpleTerminal
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> SimpleTerminal
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for TextDisplay
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> TextDisplay
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for TextEditor
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> TextEditor
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for Adjuster
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> Adjuster
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for Counter
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> Counter
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for Dial
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> Dial
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for LineDial
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> LineDial
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for NiceSlider
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> NiceSlider
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for Roller
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> Roller
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for Scrollbar
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> Scrollbar
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for Slider
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> Slider
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for ValueInput
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> ValueInput
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for ValueSlider
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> ValueSlider
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for DoubleWindow
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> DoubleWindow
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for MenuWindow
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> MenuWindow
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)
fn image(&self) -> Option<Image>
[src]
fn set_callback<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn handle<'a>(&'a mut self, cb: Box<dyn FnMut(Event) -> bool + 'a>)
[src]
fn draw<'a>(&'a mut self, cb: Box<dyn FnMut() + 'a>)
[src]
fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
fn parent(&self) -> Option<Widget>
[src]
fn selection_color(&mut self) -> Color
[src]
fn set_selection_color(&mut self, color: Color)
[src]
fn do_callback(&mut self)
[src]
fn inside(&self, wid: Widget) -> bool
[src]
fn window(&self) -> Option<Window>
[src]
fn top_window(&self) -> Option<Window>
[src]
fn takes_events(&self) -> bool
[src]
impl WidgetExt for Window
[src]
fn new(x: i32, y: i32, width: i32, height: i32, title: &str) -> Window
[src]
fn default() -> Self
[src]
fn with_pos(self, x: i32, y: i32) -> Self
[src]
fn with_size(self, width: i32, height: i32) -> Self
[src]
fn with_label(self, title: &str) -> Self
[src]
fn set_label(&mut self, title: &str)
[src]
fn redraw(&mut self)
[src]
fn show(&mut self)
[src]
fn hide(&mut self)
[src]
fn x(&self) -> i32
[src]
fn y(&self) -> i32
[src]
fn width(&self) -> i32
[src]
fn height(&self) -> i32
[src]
fn label(&self) -> String
[src]
fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
fn from_widget_ptr(ptr: *mut Fl_Widget) -> Self
[src]
fn activate(&mut self)
[src]
fn deactivate(&mut self)
[src]
fn redraw_label(&mut self)
[src]
fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
fn tooltip(&self) -> Option<String>
[src]
fn set_tooltip(&mut self, txt: &str)
[src]
fn get_type<T: WidgetType>(&self) -> T
[src]
fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
fn color(&self) -> Color
[src]
fn set_color(&mut self, color: Color)
[src]
fn label_color(&self) -> Color
[src]
fn set_label_color(&mut self, color: Color)
[src]
fn label_font(&self) -> Font
[src]
fn set_label_font(&mut self, font: Font)
[src]
fn label_size(&self) -> i32
[src]
fn set_label_size(&mut self, sz: i32)
[src]
fn label_type<T: WidgetType>(&self) -> T
[src]
fn set_label_type<T: WidgetType>(&mut self, typ: T)
[src]
fn frame<T: WidgetType>(&self) -> T
[src]
fn set_frame<T: WidgetType>(&mut self, typ: T)
[src]
fn changed(&self) -> bool
[src]
fn set_changed(&mut self)
[src]
fn clear_changed(&mut self)
[src]
fn align(&self) -> Align
[src]
fn set_align(&mut self, align: Align)
[src]
fn set_image<Image: ImageExt>(&mut self, image: &Image)
[src]
fn set_image_with_size<Image: ImageExt>(
&mut self,
image: &Image,
w: i32,
h: i32
)
[src]
&mut self,
image: &Image,
w: i32,
h: i32
)