[−][src]Trait fltk::prelude::GroupExt
Defines the methods implemented by all group widgets
Required methods
pub fn begin(&self)
[src]
Begins a group, used for widgets implementing the group trait
pub fn end(&self)
[src]
Ends a group, used for widgets implementing the group trait
pub fn clear(&mut self)
[src]
Clear a group from all widgets
pub fn children(&self) -> u32
[src]
Return the number of children in a group
pub fn child(&self, idx: u32) -> Option<Box<dyn WidgetExt>>
[src]
Return child widget by index
pub fn find<W: WidgetExt>(&self, widget: &W) -> u32 where
Self: Sized,
[src]
Self: Sized,
Find a widget within a group and return its index
pub fn add<W: WidgetExt>(&mut self, widget: &W) where
Self: Sized,
[src]
Self: Sized,
Add a widget to a group
pub fn insert<W: WidgetExt>(&mut self, widget: &W, index: u32) where
Self: Sized,
[src]
Self: Sized,
Insert a widget to a group at a certain index
pub 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
pub fn resizable<W: WidgetExt>(&self, widget: &W) where
Self: Sized,
[src]
Self: Sized,
Make the passed widget resizable
pub fn make_resizable(&mut self, val: bool)
[src]
Make the window resizable, should be called before show