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 Overlay

source§

impl ContainerChild for ToggleButton

source§

impl ContainerChild for Window

source§

impl ContainerChild for Expander

source§

impl ContainerChild for Popover

source§

impl ContainerChild for ActionBar

source§

impl ContainerChild for LinkButton

source§

impl ContainerChild for Button

source§

impl ContainerChild for TabView

source§

impl ContainerChild for Window

source§

impl ContainerChild for SplitButton

source§

impl ContainerChild for ToastOverlay

source§

impl ContainerChild for Clamp

source§

impl ContainerChild for Stack

source§

impl ContainerChild for StatusPage

source§

impl ContainerChild for ListBoxRow

source§

impl ContainerChild for Revealer

source§

impl ContainerChild for ApplicationWindow

source§

impl ContainerChild for FlowBox

source§

impl ContainerChild for FlowBoxChild

source§

impl ContainerChild for Bin

source§

impl ContainerChild for HeaderBar

source§

impl ContainerChild for Dialog

source§

impl ContainerChild for InfoBar

source§

impl ContainerChild for ScrolledWindow

source§

impl ContainerChild for Grid

source§

impl ContainerChild for Box

source§

impl ContainerChild for ListBox

source§

impl ContainerChild for Fixed

source§

impl ContainerChild for ApplicationWindow

source§

impl ContainerChild for PreferencesGroup

source§

impl ContainerChild for ComboBox

source§

impl ContainerChild for Frame

source§

impl ContainerChild for WindowHandle

source§

impl ContainerChild for ClampScrollable

Implementors§