Trait fltk::prelude::GroupExt [−][src]
pub unsafe trait GroupExt: WidgetExt {}Show methods
fn begin(&self); fn end(&self); fn clear(&mut self); fn children(&self) -> i32; fn child(&self, idx: i32) -> Option<Box<dyn WidgetExt>>; fn find<W: WidgetExt>(&self, widget: &W) -> i32
where
Self: Sized; fn add<W: WidgetExt>(&mut self, widget: &W)
where
Self: Sized; fn insert<W: WidgetExt>(&mut self, widget: &W, index: i32)
where
Self: Sized; fn remove<W: WidgetExt>(&mut self, widget: &W)
where
Self: Sized; fn remove_by_index(&mut self, idx: i32); fn resizable<W: WidgetExt>(&self, widget: &W)
where
Self: Sized; fn make_resizable(&mut self, val: bool); fn set_clip_children(&mut self, flag: bool); fn clip_children(&mut self) -> bool; fn draw_child<W: WidgetExt>(&self, w: &mut W)
where
Self: Sized; fn update_child<W: WidgetExt>(&self, w: &mut W)
where
Self: Sized; fn draw_outside_label<W: WidgetExt>(&self, w: &mut W)
where
Self: Sized; fn draw_children(&mut self);
Defines the methods implemented by all group widgets
Required methods
fn begin(&self)
[src]
Begins a group, used for widgets implementing the group trait
fn end(&self)
[src]
Ends a group, used for widgets implementing the group trait
fn clear(&mut self)
[src]
Clear a group from all widgets
fn children(&self) -> i32
[src]
Return the number of children in a group
fn child(&self, idx: i32) -> Option<Box<dyn WidgetExt>>
[src]
Return child widget by index
fn find<W: WidgetExt>(&self, widget: &W) -> i32 where
Self: Sized,
[src]
Self: Sized,
Find a widget within a group and return its index
fn add<W: WidgetExt>(&mut self, widget: &W) where
Self: Sized,
[src]
Self: Sized,
Add a widget to a group
fn insert<W: WidgetExt>(&mut self, widget: &W, index: i32) where
Self: Sized,
[src]
Self: Sized,
Insert a widget to a group at a certain index
fn remove<W: WidgetExt>(&mut self, widget: &W) where
Self: Sized,
[src]
Self: Sized,
Remove a widget from a group, but does not delete it
fn remove_by_index(&mut self, idx: i32)
[src]
Remove a child widget by its index
fn resizable<W: WidgetExt>(&self, widget: &W) where
Self: Sized,
[src]
Self: Sized,
Make the passed widget resizable
fn make_resizable(&mut self, val: bool)
[src]
Make the window resizable, should be called before show
fn set_clip_children(&mut self, flag: bool)
[src]
Clips children outside the group boundaries
fn clip_children(&mut self) -> bool
[src]
Get whether clip_children
is set
fn draw_child<W: WidgetExt>(&self, w: &mut W) where
Self: Sized,
[src]
Self: Sized,
Draw a child widget, the call should be in a WidgetBase::draw
method
fn update_child<W: WidgetExt>(&self, w: &mut W) where
Self: Sized,
[src]
Self: Sized,
Update a child widget, the call should be in a WidgetBase::draw
method
fn draw_outside_label<W: WidgetExt>(&self, w: &mut W) where
Self: Sized,
[src]
Self: Sized,
Draw the outside label, the call should be in a WidgetBase::draw
method
fn draw_children(&mut self)
[src]
Draw children, the call should be in a WidgetBase::draw
method
Implementors
impl GroupExt for ColorChooser
[src]
impl GroupExt for ColorChooser
[src]fn begin(&self)
[src]
fn end(&self)
[src]
fn clear(&mut self)
[src]
fn children(&self) -> i32
[src]
fn child(&self, idx: i32) -> Option<Box<dyn WidgetExt>>
[src]
fn find<W: WidgetExt>(&self, widget: &W) -> i32
[src]
fn add<W: WidgetExt>(&mut self, widget: &W)
[src]
fn insert<W: WidgetExt>(&mut self, widget: &W, index: i32)
[src]
fn remove<W: WidgetExt>(&mut self, widget: &W)
[src]
fn remove_by_index(&mut self, idx: i32)
[src]
fn resizable<W: WidgetExt>(&self, widget: &W)
[src]
fn make_resizable(&mut self, val: bool)
[src]
fn set_clip_children(&mut self, flag: bool)
[src]
fn clip_children(&mut self) -> bool
[src]
fn draw_child<W: WidgetExt>(&self, w: &mut W)
[src]
fn update_child<W: WidgetExt>(&self, w: &mut W)
[src]
fn draw_outside_label<W: WidgetExt>(&self, w: &mut W)
[src]
fn draw_children(&mut self)
[src]
impl GroupExt for Group
[src]
impl GroupExt for Group
[src]fn begin(&self)
[src]
fn end(&self)
[src]
fn clear(&mut self)
[src]
fn children(&self) -> i32
[src]
fn child(&self, idx: i32) -> Option<Box<dyn WidgetExt>>
[src]
fn find<W: WidgetExt>(&self, widget: &W) -> i32
[src]
fn add<W: WidgetExt>(&mut self, widget: &W)
[src]
fn insert<W: WidgetExt>(&mut self, widget: &W, index: i32)
[src]
fn remove<W: WidgetExt>(&mut self, widget: &W)
[src]
fn remove_by_index(&mut self, idx: i32)
[src]
fn resizable<W: WidgetExt>(&self, widget: &W)
[src]
fn make_resizable(&mut self, val: bool)
[src]
fn set_clip_children(&mut self, flag: bool)
[src]
fn clip_children(&mut self) -> bool
[src]
fn draw_child<W: WidgetExt>(&self, w: &mut W)
[src]
fn update_child<W: WidgetExt>(&self, w: &mut W)
[src]
fn draw_outside_label<W: WidgetExt>(&self, w: &mut W)
[src]
fn draw_children(&mut self)
[src]
impl GroupExt for Pack
[src]
impl GroupExt for Pack
[src]fn begin(&self)
[src]
fn end(&self)
[src]
fn clear(&mut self)
[src]
fn children(&self) -> i32
[src]
fn child(&self, idx: i32) -> Option<Box<dyn WidgetExt>>
[src]
fn find<W: WidgetExt>(&self, widget: &W) -> i32
[src]
fn add<W: WidgetExt>(&mut self, widget: &W)
[src]
fn insert<W: WidgetExt>(&mut self, widget: &W, index: i32)
[src]
fn remove<W: WidgetExt>(&mut self, widget: &W)
[src]
fn remove_by_index(&mut self, idx: i32)
[src]
fn resizable<W: WidgetExt>(&self, widget: &W)
[src]
fn make_resizable(&mut self, val: bool)
[src]
fn set_clip_children(&mut self, flag: bool)
[src]
fn clip_children(&mut self) -> bool
[src]
fn draw_child<W: WidgetExt>(&self, w: &mut W)
[src]
fn update_child<W: WidgetExt>(&self, w: &mut W)
[src]
fn draw_outside_label<W: WidgetExt>(&self, w: &mut W)
[src]
fn draw_children(&mut self)
[src]
impl GroupExt for Scroll
[src]
impl GroupExt for Scroll
[src]fn begin(&self)
[src]
fn end(&self)
[src]
fn clear(&mut self)
[src]
fn children(&self) -> i32
[src]
fn child(&self, idx: i32) -> Option<Box<dyn WidgetExt>>
[src]
fn find<W: WidgetExt>(&self, widget: &W) -> i32
[src]
fn add<W: WidgetExt>(&mut self, widget: &W)
[src]
fn insert<W: WidgetExt>(&mut self, widget: &W, index: i32)
[src]
fn remove<W: WidgetExt>(&mut self, widget: &W)
[src]
fn remove_by_index(&mut self, idx: i32)
[src]
fn resizable<W: WidgetExt>(&self, widget: &W)
[src]
fn make_resizable(&mut self, val: bool)
[src]
fn set_clip_children(&mut self, flag: bool)
[src]
fn clip_children(&mut self) -> bool
[src]
fn draw_child<W: WidgetExt>(&self, w: &mut W)
[src]
fn update_child<W: WidgetExt>(&self, w: &mut W)
[src]
fn draw_outside_label<W: WidgetExt>(&self, w: &mut W)
[src]
fn draw_children(&mut self)
[src]
impl GroupExt for Tabs
[src]
impl GroupExt for Tabs
[src]fn begin(&self)
[src]
fn end(&self)
[src]
fn clear(&mut self)
[src]
fn children(&self) -> i32
[src]
fn child(&self, idx: i32) -> Option<Box<dyn WidgetExt>>
[src]
fn find<W: WidgetExt>(&self, widget: &W) -> i32
[src]
fn add<W: WidgetExt>(&mut self, widget: &W)
[src]
fn insert<W: WidgetExt>(&mut self, widget: &W, index: i32)
[src]
fn remove<W: WidgetExt>(&mut self, widget: &W)
[src]
fn remove_by_index(&mut self, idx: i32)
[src]
fn resizable<W: WidgetExt>(&self, widget: &W)
[src]
fn make_resizable(&mut self, val: bool)
[src]
fn set_clip_children(&mut self, flag: bool)
[src]
fn clip_children(&mut self) -> bool
[src]
fn draw_child<W: WidgetExt>(&self, w: &mut W)
[src]
fn update_child<W: WidgetExt>(&self, w: &mut W)
[src]
fn draw_outside_label<W: WidgetExt>(&self, w: &mut W)
[src]
fn draw_children(&mut self)
[src]
impl GroupExt for Tile
[src]
impl GroupExt for Tile
[src]fn begin(&self)
[src]
fn end(&self)
[src]
fn clear(&mut self)
[src]
fn children(&self) -> i32
[src]
fn child(&self, idx: i32) -> Option<Box<dyn WidgetExt>>
[src]
fn find<W: WidgetExt>(&self, widget: &W) -> i32
[src]
fn add<W: WidgetExt>(&mut self, widget: &W)
[src]
fn insert<W: WidgetExt>(&mut self, widget: &W, index: i32)
[src]
fn remove<W: WidgetExt>(&mut self, widget: &W)
[src]
fn remove_by_index(&mut self, idx: i32)
[src]
fn resizable<W: WidgetExt>(&self, widget: &W)
[src]
fn make_resizable(&mut self, val: bool)
[src]
fn set_clip_children(&mut self, flag: bool)
[src]
fn clip_children(&mut self) -> bool
[src]
fn draw_child<W: WidgetExt>(&self, w: &mut W)
[src]
fn update_child<W: WidgetExt>(&self, w: &mut W)
[src]
fn draw_outside_label<W: WidgetExt>(&self, w: &mut W)
[src]
fn draw_children(&mut self)
[src]
impl GroupExt for Wizard
[src]
impl GroupExt for Wizard
[src]fn begin(&self)
[src]
fn end(&self)
[src]
fn clear(&mut self)
[src]
fn children(&self) -> i32
[src]
fn child(&self, idx: i32) -> Option<Box<dyn WidgetExt>>
[src]
fn find<W: WidgetExt>(&self, widget: &W) -> i32
[src]
fn add<W: WidgetExt>(&mut self, widget: &W)
[src]
fn insert<W: WidgetExt>(&mut self, widget: &W, index: i32)
[src]
fn remove<W: WidgetExt>(&mut self, widget: &W)
[src]
fn remove_by_index(&mut self, idx: i32)
[src]
fn resizable<W: WidgetExt>(&self, widget: &W)
[src]
fn make_resizable(&mut self, val: bool)
[src]
fn set_clip_children(&mut self, flag: bool)
[src]
fn clip_children(&mut self) -> bool
[src]
fn draw_child<W: WidgetExt>(&self, w: &mut W)
[src]
fn update_child<W: WidgetExt>(&self, w: &mut W)
[src]
fn draw_outside_label<W: WidgetExt>(&self, w: &mut W)
[src]
fn draw_children(&mut self)
[src]
impl GroupExt for Table
[src]
impl GroupExt for Table
[src]fn begin(&self)
[src]
fn end(&self)
[src]
fn clear(&mut self)
[src]
fn children(&self) -> i32
[src]
fn child(&self, idx: i32) -> Option<Box<dyn WidgetExt>>
[src]
fn find<W: WidgetExt>(&self, widget: &W) -> i32
[src]
fn add<W: WidgetExt>(&mut self, widget: &W)
[src]
fn insert<W: WidgetExt>(&mut self, widget: &W, index: i32)
[src]
fn remove<W: WidgetExt>(&mut self, widget: &W)
[src]
fn remove_by_index(&mut self, idx: i32)
[src]
fn resizable<W: WidgetExt>(&self, widget: &W)
[src]
fn make_resizable(&mut self, val: bool)
[src]
fn set_clip_children(&mut self, flag: bool)
[src]
fn clip_children(&mut self) -> bool
[src]
fn draw_child<W: WidgetExt>(&self, w: &mut W)
[src]
fn update_child<W: WidgetExt>(&self, w: &mut W)
[src]
fn draw_outside_label<W: WidgetExt>(&self, w: &mut W)
[src]
fn draw_children(&mut self)
[src]
impl GroupExt for TableRow
[src]
impl GroupExt for TableRow
[src]fn begin(&self)
[src]
fn end(&self)
[src]
fn clear(&mut self)
[src]
fn children(&self) -> i32
[src]
fn child(&self, idx: i32) -> Option<Box<dyn WidgetExt>>
[src]
fn find<W: WidgetExt>(&self, widget: &W) -> i32
[src]
fn add<W: WidgetExt>(&mut self, widget: &W)
[src]
fn insert<W: WidgetExt>(&mut self, widget: &W, index: i32)
[src]
fn remove<W: WidgetExt>(&mut self, widget: &W)
[src]
fn remove_by_index(&mut self, idx: i32)
[src]
fn resizable<W: WidgetExt>(&self, widget: &W)
[src]
fn make_resizable(&mut self, val: bool)
[src]
fn set_clip_children(&mut self, flag: bool)
[src]
fn clip_children(&mut self) -> bool
[src]
fn draw_child<W: WidgetExt>(&self, w: &mut W)
[src]
fn update_child<W: WidgetExt>(&self, w: &mut W)
[src]
fn draw_outside_label<W: WidgetExt>(&self, w: &mut W)
[src]
fn draw_children(&mut self)
[src]
impl GroupExt for DoubleWindow
[src]
impl GroupExt for DoubleWindow
[src]fn begin(&self)
[src]
fn end(&self)
[src]
fn clear(&mut self)
[src]
fn children(&self) -> i32
[src]
fn child(&self, idx: i32) -> Option<Box<dyn WidgetExt>>
[src]
fn find<W: WidgetExt>(&self, widget: &W) -> i32
[src]
fn add<W: WidgetExt>(&mut self, widget: &W)
[src]
fn insert<W: WidgetExt>(&mut self, widget: &W, index: i32)
[src]
fn remove<W: WidgetExt>(&mut self, widget: &W)
[src]
fn remove_by_index(&mut self, idx: i32)
[src]
fn resizable<W: WidgetExt>(&self, widget: &W)
[src]
fn make_resizable(&mut self, val: bool)
[src]
fn set_clip_children(&mut self, flag: bool)
[src]
fn clip_children(&mut self) -> bool
[src]
fn draw_child<W: WidgetExt>(&self, w: &mut W)
[src]
fn update_child<W: WidgetExt>(&self, w: &mut W)
[src]
fn draw_outside_label<W: WidgetExt>(&self, w: &mut W)
[src]
fn draw_children(&mut self)
[src]
impl GroupExt for GlWindow
[src]
impl GroupExt for GlWindow
[src]fn begin(&self)
[src]
fn end(&self)
[src]
fn clear(&mut self)
[src]
fn children(&self) -> i32
[src]
fn child(&self, idx: i32) -> Option<Box<dyn WidgetExt>>
[src]
fn find<W: WidgetExt>(&self, widget: &W) -> i32
[src]
fn add<W: WidgetExt>(&mut self, widget: &W)
[src]
fn insert<W: WidgetExt>(&mut self, widget: &W, index: i32)
[src]
fn remove<W: WidgetExt>(&mut self, widget: &W)
[src]
fn remove_by_index(&mut self, idx: i32)
[src]
fn resizable<W: WidgetExt>(&self, widget: &W)
[src]
fn make_resizable(&mut self, val: bool)
[src]
fn set_clip_children(&mut self, flag: bool)
[src]
fn clip_children(&mut self) -> bool
[src]
fn draw_child<W: WidgetExt>(&self, w: &mut W)
[src]
fn update_child<W: WidgetExt>(&self, w: &mut W)
[src]
fn draw_outside_label<W: WidgetExt>(&self, w: &mut W)
[src]
fn draw_children(&mut self)
[src]
impl GroupExt for GlutWindow
[src]
impl GroupExt for GlutWindow
[src]fn begin(&self)
[src]
fn end(&self)
[src]
fn clear(&mut self)
[src]
fn children(&self) -> i32
[src]
fn child(&self, idx: i32) -> Option<Box<dyn WidgetExt>>
[src]
fn find<W: WidgetExt>(&self, widget: &W) -> i32
[src]
fn add<W: WidgetExt>(&mut self, widget: &W)
[src]
fn insert<W: WidgetExt>(&mut self, widget: &W, index: i32)
[src]
fn remove<W: WidgetExt>(&mut self, widget: &W)
[src]
fn remove_by_index(&mut self, idx: i32)
[src]
fn resizable<W: WidgetExt>(&self, widget: &W)
[src]
fn make_resizable(&mut self, val: bool)
[src]
fn set_clip_children(&mut self, flag: bool)
[src]
fn clip_children(&mut self) -> bool
[src]
fn draw_child<W: WidgetExt>(&self, w: &mut W)
[src]
fn update_child<W: WidgetExt>(&self, w: &mut W)
[src]
fn draw_outside_label<W: WidgetExt>(&self, w: &mut W)
[src]
fn draw_children(&mut self)
[src]
impl GroupExt for MenuWindow
[src]
impl GroupExt for MenuWindow
[src]fn begin(&self)
[src]
fn end(&self)
[src]
fn clear(&mut self)
[src]
fn children(&self) -> i32
[src]
fn child(&self, idx: i32) -> Option<Box<dyn WidgetExt>>
[src]
fn find<W: WidgetExt>(&self, widget: &W) -> i32
[src]
fn add<W: WidgetExt>(&mut self, widget: &W)
[src]
fn insert<W: WidgetExt>(&mut self, widget: &W, index: i32)
[src]
fn remove<W: WidgetExt>(&mut self, widget: &W)
[src]
fn remove_by_index(&mut self, idx: i32)
[src]
fn resizable<W: WidgetExt>(&self, widget: &W)
[src]
fn make_resizable(&mut self, val: bool)
[src]
fn set_clip_children(&mut self, flag: bool)
[src]
fn clip_children(&mut self) -> bool
[src]
fn draw_child<W: WidgetExt>(&self, w: &mut W)
[src]
fn update_child<W: WidgetExt>(&self, w: &mut W)
[src]
fn draw_outside_label<W: WidgetExt>(&self, w: &mut W)
[src]
fn draw_children(&mut self)
[src]
impl GroupExt for OverlayWindow
[src]
impl GroupExt for OverlayWindow
[src]fn begin(&self)
[src]
fn end(&self)
[src]
fn clear(&mut self)
[src]
fn children(&self) -> i32
[src]
fn child(&self, idx: i32) -> Option<Box<dyn WidgetExt>>
[src]
fn find<W: WidgetExt>(&self, widget: &W) -> i32
[src]
fn add<W: WidgetExt>(&mut self, widget: &W)
[src]
fn insert<W: WidgetExt>(&mut self, widget: &W, index: i32)
[src]
fn remove<W: WidgetExt>(&mut self, widget: &W)
[src]
fn remove_by_index(&mut self, idx: i32)
[src]
fn resizable<W: WidgetExt>(&self, widget: &W)
[src]
fn make_resizable(&mut self, val: bool)
[src]
fn set_clip_children(&mut self, flag: bool)
[src]
fn clip_children(&mut self) -> bool
[src]
fn draw_child<W: WidgetExt>(&self, w: &mut W)
[src]
fn update_child<W: WidgetExt>(&self, w: &mut W)
[src]
fn draw_outside_label<W: WidgetExt>(&self, w: &mut W)
[src]
fn draw_children(&mut self)
[src]
impl GroupExt for SingleWindow
[src]
impl GroupExt for SingleWindow
[src]