Trait relm4::ContainerChild

source ·
pub trait ContainerChild {
    type Child: IsA<Widget>;
}
Expand description

Type of children inside a container.

For example, gtk::ListBox only contains gtk::ListBoxRow widgets as children. If you add any other kind of widget, a row is automatically inserted between the list box and the widget.

For simple widgets like gtk::Box, the children type will be gtk::Widget, meaning that it can be any widget type.

Required Associated Types§

source

type Child: IsA<Widget>

Type of container children.

Implementations on Foreign Types§

source§

impl ContainerChild for ScrolledWindow

source§

impl ContainerChild for Grid

source§

impl ContainerChild for Dialog

source§

impl ContainerChild for HeaderBar

source§

impl ContainerChild for ComboBox

source§

impl ContainerChild for Button

source§

impl ContainerChild for Overlay

source§

impl ContainerChild for StatusPage

Available on crate feature libadwaita only.
source§

impl ContainerChild for InfoBar

source§

impl ContainerChild for SplitButton

Available on crate feature libadwaita only.
source§

impl ContainerChild for TabView

Available on crate feature libadwaita only.
source§

impl ContainerChild for ToastOverlay

Available on crate feature libadwaita only.
source§

impl ContainerChild for ApplicationWindow

Available on crate feature libadwaita only.
source§

impl ContainerChild for FlowBox

source§

impl ContainerChild for Expander

source§

impl ContainerChild for Bin

Available on crate feature libadwaita only.
source§

impl ContainerChild for ActionBar

source§

impl ContainerChild for Revealer

source§

impl ContainerChild for AspectFrame

source§

impl ContainerChild for FlowBoxChild

source§

impl ContainerChild for Clamp

Available on crate feature libadwaita only.
source§

impl ContainerChild for Frame

source§

impl ContainerChild for ListBox

source§

impl ContainerChild for ToggleButton

source§

impl ContainerChild for ClampScrollable

Available on crate feature libadwaita only.
source§

impl ContainerChild for ListBoxRow

source§

impl ContainerChild for ApplicationWindow

source§

impl ContainerChild for Stack

source§

impl ContainerChild for ExpanderRow

Available on crate feature libadwaita only.
source§

impl ContainerChild for Popover

source§

impl ContainerChild for Fixed

source§

impl ContainerChild for LinkButton

source§

impl ContainerChild for Window

Available on crate feature libadwaita only.
source§

impl ContainerChild for Window

source§

impl ContainerChild for PreferencesGroup

Available on crate feature libadwaita only.
source§

impl ContainerChild for Box

source§

impl ContainerChild for WindowHandle

Implementors§