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