[−][src]Trait fltk::prelude::WidgetExt
Defines the methods implemented by all widgets
Required methods
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
Set to position x, y
pub fn set_size(&mut self, width: i32, height: i32)
[src]
Set to dimensions width and height
pub fn set_label(&mut self, title: &str)
[src]
Sets the widget's label
pub fn redraw(&mut self)
[src]
Redraws a widget, necessary for resizing and changing positions
pub fn show(&mut self)
[src]
Shows the widget
pub fn hide(&mut self)
[src]
Hides the widget
pub fn x(&self) -> i32
[src]
Returns the x coordinate of the widget
pub fn y(&self) -> i32
[src]
Returns the y coordinate of the widget
pub fn width(&self) -> i32
[src]
Returns the width of the widget
pub fn height(&self) -> i32
[src]
Returns the height of the widget
pub fn label(&self) -> String
[src]
Returns the label of the widget
pub fn measure_label(&self) -> (i32, i32)
[src]
Measures the label's width and height
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
transforms a widget to a base Fl_Widget, for internal use
Safety
Can return multiple mutable pointers to the same widget
pub fn with_pos(self, x: i32, y: i32) -> Self where
Self: Sized,
[src]
Self: Sized,
Initialize to position x, y, (should only be called on initialization)
pub fn with_size(self, width: i32, height: i32) -> Self where
Self: Sized,
[src]
Self: Sized,
Initialilze to dimensions width and height, (should only be called on initialization)
pub fn with_label(self, title: &str) -> Self where
Self: Sized,
[src]
Self: Sized,
Initialize with label/title, (should only be called on initialization)
pub fn with_align(self, align: Align) -> Self where
Self: Sized,
[src]
Self: Sized,
Sets the initial alignment of the widget, (should only be called on initialization)
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self where
Self: Sized,
[src]
Self: Sized,
Positions the widget below w, the size of w should be known
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self where
Self: Sized,
[src]
Self: Sized,
Positions the widget above w, the size of w should be known
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self where
Self: Sized,
[src]
Self: Sized,
Positions the widget to the right of w, the size of w should be known
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self where
Self: Sized,
[src]
Self: Sized,
Positions the widget to the left of w, the size of w should be known
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self where
Self: Sized,
[src]
Self: Sized,
Positions the widget to the center of w, the size of w should be known
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self where
Self: Sized,
[src]
Self: Sized,
Takes the size of w, the size of w should be known
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool where
Self: Sized,
[src]
Self: Sized,
Checks whether the self widget is inside another widget
pub fn get_type<T: WidgetType>(&self) -> T where
Self: Sized,
[src]
Self: Sized,
Returns the widget type when applicable
pub fn set_type<T: WidgetType>(&mut self, typ: T) where
Self: Sized,
[src]
Self: Sized,
Sets the widget type
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>) where
Self: Sized,
[src]
Self: Sized,
Sets the image of the widget
pub fn image(&self) -> Option<Box<dyn ImageExt>> where
Self: Sized,
[src]
Self: Sized,
Gets the image associated with the widget
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>) where
Self: Sized,
[src]
Self: Sized,
Sets the image of the widget
pub fn deimage(&self) -> Option<Box<dyn ImageExt>> where
Self: Sized,
[src]
Self: Sized,
Gets the image associated with the widget
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F) where
Self: Sized,
[src]
Self: Sized,
Sets the callback when the widget is triggered (clicks for example)
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F) where
Self: Sized,
[src]
Self: Sized,
Sets the callback when the widget is triggered (clicks for example) takes the widget as a closure argument
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
) where
Self: Sized,
[src]
&mut self,
sender: Sender<T>,
msg: T
) where
Self: Sized,
Emits a message on callback using a sender
pub fn activate(&mut self)
[src]
Activates the widget
pub fn deactivate(&mut self)
[src]
Deactivates the widget
pub fn redraw_label(&mut self)
[src]
Redraws the label of the widget
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
Resizes and/or moves the widget, takes x, y, width and height
pub fn tooltip(&self) -> Option<String>
[src]
Returns the tooltip text
pub fn set_tooltip(&mut self, txt: &str)
[src]
Sets the tooltip text
pub fn color(&self) -> Color
[src]
Returns the widget color
pub fn set_color(&mut self, color: Color)
[src]
Sets the widget's color
pub fn label_color(&self) -> Color
[src]
Returns the widget label's color
pub fn set_label_color(&mut self, color: Color)
[src]
Sets the widget label's color
pub fn label_font(&self) -> Font
[src]
Returns the widget label's font
pub fn set_label_font(&mut self, font: Font)
[src]
Sets the widget label's font
pub fn label_size(&self) -> i32
[src]
Returns the widget label's size
pub fn set_label_size(&mut self, sz: i32)
[src]
Sets the widget label's size
pub fn label_type(&self) -> LabelType
[src]
Returns the widget label's type
pub fn set_label_type(&mut self, typ: LabelType)
[src]
Sets the widget label's type
pub fn frame(&self) -> FrameType
[src]
Returns the widget's frame type
pub fn set_frame(&mut self, typ: FrameType)
[src]
Sets the widget's frame type
pub fn changed(&self) -> bool
[src]
Returns whether the widget was changed
pub fn set_changed(&mut self)
[src]
Mark the widget as changed
pub fn clear_changed(&mut self)
[src]
Clears the changed status of the widget
pub fn align(&self) -> Align
[src]
Returns the alignment of the widget
pub fn set_align(&mut self, align: Align)
[src]
Sets the alignment of the widget
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
Returns the parent of the widget
pub fn selection_color(&mut self) -> Color
[src]
Gets the selection color of the widget
pub fn set_selection_color(&mut self, color: Color)
[src]
Sets the selection color of the widget
pub fn do_callback(&mut self)
[src]
Runs the already registered callback
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
Returns the direct window holding the widget
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
Returns the topmost window holding the widget
pub fn takes_events(&self) -> bool
[src]
Checks whether a widget is capable of taking events
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
Make the widget take focus
pub fn set_visible_focus(&mut self)
[src]
Set the widget to have visible focus
pub fn clear_visible_focus(&mut self)
[src]
Clear visible focus
pub fn visible_focus(&mut self, v: bool)
[src]
Set the visible focus using a flag
pub fn has_visible_focus(&mut self) -> bool
[src]
Return whether the widget has visible focus
pub fn was_deleted(&self) -> bool
[src]
Check if a widget was deleted
pub fn delete(wid: Self) where
Self: Sized,
[src]
Self: Sized,
Deletes widgets and their children.
pub fn damage(&self) -> bool
[src]
Return whether the widget was damaged
pub fn set_damage(&mut self, flag: bool)
[src]
Signal the widget as damaged and it should be redrawn in the next event loop cycle
pub fn clear_damage(&mut self)
[src]
Clear the damaged flag
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
Sets the default callback trigger for a widget
pub fn trigger(&self) -> u32
[src]
Return the callback trigger
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
Return the widget as a window if it's a window
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
Return the widget as a group widget if it's a group widget
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
INTERNAL: Retakes ownership of the user callback data
Safety
Can return multiple mutable references to the user_data
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
Upcast a WidgetExt to a Widget
Implementors
impl WidgetExt for Browser
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for FileBrowser
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for HoldBrowser
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for MultiBrowser
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for SelectBrowser
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for Button
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for CheckButton
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for LightButton
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for RadioButton
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for RadioLightButton
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for RadioRoundButton
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for RepeatButton
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for ReturnButton
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for RoundButton
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for ToggleButton
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for Frame
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for ColorChooser
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for Group
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for Pack
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for Scroll
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for Tabs
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for Tile
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for Wizard
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for FileInput
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for FloatInput
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for Input
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for IntInput
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for MultilineInput
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for SecretInput
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for Choice
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for MenuBar
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for MenuButton
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for SysMenuBar
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for Chart
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for Clock
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for Progress
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for Spinner
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for MultilineOutput
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for Output
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for Table
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for TableRow
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for SimpleTerminal
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for TextDisplay
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for TextEditor
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for Tree
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for Adjuster
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for Counter
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for Dial
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for FillDial
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for FillSlider
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for HorFillSlider
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for HorNiceSlider
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for HorSlider
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for HorValueSlider
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for LineDial
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for NiceSlider
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for Roller
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for Scrollbar
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for Slider
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for ValueInput
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for ValueOutput
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for ValueSlider
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for Widget
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for DoubleWindow
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for MenuWindow
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,
impl WidgetExt for SingleWindow
[src]
pub fn set_pos(&mut self, x: i32, y: i32)
[src]
pub fn set_size(&mut self, width: i32, height: i32)
[src]
pub fn set_label(&mut self, title: &str)
[src]
pub fn redraw(&mut self)
[src]
pub fn show(&mut self)
[src]
pub fn hide(&mut self)
[src]
pub fn x(&self) -> i32
[src]
pub fn y(&self) -> i32
[src]
pub fn width(&self) -> i32
[src]
pub fn height(&self) -> i32
[src]
pub fn label(&self) -> String
[src]
pub fn measure_label(&self) -> (i32, i32)
[src]
pub unsafe fn as_widget_ptr(&self) -> *mut Fl_Widget
[src]
pub fn activate(&mut self)
[src]
pub fn deactivate(&mut self)
[src]
pub fn redraw_label(&mut self)
[src]
pub fn resize(&mut self, x: i32, y: i32, width: i32, height: i32)
[src]
pub fn tooltip(&self) -> Option<String>
[src]
pub fn set_tooltip(&mut self, txt: &str)
[src]
pub fn color(&self) -> Color
[src]
pub fn set_color(&mut self, color: Color)
[src]
pub fn label_color(&self) -> Color
[src]
pub fn set_label_color(&mut self, color: Color)
[src]
pub fn label_font(&self) -> Font
[src]
pub fn set_label_font(&mut self, font: Font)
[src]
pub fn label_size(&self) -> i32
[src]
pub fn set_label_size(&mut self, sz: i32)
[src]
pub fn label_type(&self) -> LabelType
[src]
pub fn set_label_type(&mut self, typ: LabelType)
[src]
pub fn frame(&self) -> FrameType
[src]
pub fn set_frame(&mut self, typ: FrameType)
[src]
pub fn changed(&self) -> bool
[src]
pub fn set_changed(&mut self)
[src]
pub fn clear_changed(&mut self)
[src]
pub fn align(&self) -> Align
[src]
pub fn set_align(&mut self, align: Align)
[src]
pub fn set_trigger(&mut self, trigger: CallbackTrigger)
[src]
pub fn trigger(&self) -> u32
[src]
pub fn parent(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn selection_color(&mut self) -> Color
[src]
pub fn set_selection_color(&mut self, color: Color)
[src]
pub fn do_callback(&mut self)
[src]
pub fn window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn top_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn takes_events(&self) -> bool
[src]
pub unsafe fn user_data(&self) -> Option<Box<dyn FnMut()>>
[src]
pub fn take_focus(&mut self) -> Result<(), FltkError>
[src]
pub fn set_visible_focus(&mut self)
[src]
pub fn clear_visible_focus(&mut self)
[src]
pub fn visible_focus(&mut self, v: bool)
[src]
pub fn has_visible_focus(&mut self) -> bool
[src]
pub fn was_deleted(&self) -> bool
[src]
pub fn delete(wid: Self)
[src]
pub fn damage(&self) -> bool
[src]
pub fn set_damage(&mut self, flag: bool)
[src]
pub fn clear_damage(&mut self)
[src]
pub fn as_window(&self) -> Option<Box<dyn WindowExt>>
[src]
pub fn as_group(&self) -> Option<Box<dyn GroupExt>>
[src]
pub fn below_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn above_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn right_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn left_of<W: WidgetExt>(self, w: &W, padding: i32) -> Self
[src]
pub fn center_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn size_of<W: WidgetExt>(self, w: &W) -> Self
[src]
pub fn inside<W: WidgetExt>(&self, wid: &W) -> bool
[src]
pub fn with_pos(self, x: i32, y: i32) -> Self
[src]
pub fn with_size(self, width: i32, height: i32) -> Self
[src]
pub fn with_label(self, title: &str) -> Self
[src]
pub fn with_align(self, align: Align) -> Self
[src]
pub fn get_type<T: WidgetType>(&self) -> T
[src]
pub fn set_type<T: WidgetType>(&mut self, typ: T)
[src]
pub fn set_image<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn image(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_deimage<I: ImageExt>(&mut self, image: Option<I>)
[src]
pub fn deimage(&self) -> Option<Box<dyn ImageExt>>
[src]
pub fn set_callback<F: FnMut() + 'static>(&mut self, cb: F)
[src]
pub fn set_callback2<F: FnMut(&mut Self) + 'static>(&mut self, cb: F)
[src]
pub fn emit<T: 'static + Copy + Send + Sync>(
&mut self,
sender: Sender<T>,
msg: T
)
[src]
&mut self,
sender: Sender<T>,
msg: T
)
pub fn into_widget<W: WidgetBase>(&self) -> W where
Self: Sized,
[src]
Self: Sized,