[−][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 find<Widget: WidgetExt>(&self, widget: &Widget) -> u32
Find a widget within a group and return its index
fn add<Widget: WidgetExt>(&mut self, widget: &Widget)
Add a widget to a group
fn insert<Widget: WidgetExt>(&mut self, widget: &Widget, index: u32)
Insert a widget to a group at a certain index
fn remove<Widget: WidgetExt>(&mut self, widget: &Widget)
Remove a widget from a group
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<Widget>
Return child widget by index
fn resizable<Widget: WidgetExt>(&self, widget: &mut Widget)
Make the passed widget resizable