pub trait RelmSetChildExt: ContainerChild {
    // Required methods
    fn container_set_child(&self, widget: Option<&impl AsRef<Widget>>);
    fn container_get_child(&self) -> Option<Widget>;
}
Expand description

Widget types which allow to set or unset their child.

Required Methods§

source

fn container_set_child(&self, widget: Option<&impl AsRef<Widget>>)

Set a child for the container or remove it using None.

source

fn container_get_child(&self) -> Option<Widget>

Get the child of a container. Returns None if the container has no child.

Implementations on Foreign Types§

source§

impl RelmSetChildExt for ScrolledWindow

source§

impl RelmSetChildExt for Expander

source§

impl RelmSetChildExt for ApplicationWindow

source§

impl RelmSetChildExt for Button

source§

impl RelmSetChildExt for FlowBoxChild

source§

impl RelmSetChildExt for StatusPage

source§

impl RelmSetChildExt for Frame

source§

impl RelmSetChildExt for Window

source§

impl RelmSetChildExt for ApplicationWindow

source§

impl RelmSetChildExt for Bin

source§

impl RelmSetChildExt for ClampScrollable

source§

impl RelmSetChildExt for LinkButton

source§

impl RelmSetChildExt for Popover

source§

impl RelmSetChildExt for ListBoxRow

source§

impl RelmSetChildExt for ToastOverlay

source§

impl RelmSetChildExt for Revealer

source§

impl RelmSetChildExt for Window

source§

impl RelmSetChildExt for ToggleButton

source§

impl RelmSetChildExt for Overlay

source§

impl RelmSetChildExt for WindowHandle

source§

impl RelmSetChildExt for SplitButton

source§

impl RelmSetChildExt for Clamp

Implementors§