pub trait RelmRemoveExt: ContainerChild {
// Required method
fn container_remove(&self, child: &impl AsRef<Self::Child>);
}
Expand description
Widget types which can have widgets removed from them.
Required Methods§
Sourcefn container_remove(&self, child: &impl AsRef<Self::Child>)
fn container_remove(&self, child: &impl AsRef<Self::Child>)
Removes the widget from the container if it is a child of the container.
Dyn Compatibility§
This trait is not dyn compatible.
In older versions of Rust, dyn compatibility was called "object safety", so this trait is not object safe.
Implementations on Foreign Types§
Source§impl RelmRemoveExt for ActionBar
impl RelmRemoveExt for ActionBar
fn container_remove(&self, widget: &impl AsRef<Self::Child>)
Source§impl RelmRemoveExt for Box
impl RelmRemoveExt for Box
fn container_remove(&self, widget: &impl AsRef<Self::Child>)
Source§impl RelmRemoveExt for Fixed
impl RelmRemoveExt for Fixed
fn container_remove(&self, widget: &impl AsRef<Self::Child>)
Source§impl RelmRemoveExt for FlowBox
impl RelmRemoveExt for FlowBox
fn container_remove(&self, widget: &impl AsRef<Self::Child>)
Source§impl RelmRemoveExt for Grid
impl RelmRemoveExt for Grid
fn container_remove(&self, widget: &impl AsRef<Self::Child>)
Source§impl RelmRemoveExt for HeaderBar
impl RelmRemoveExt for HeaderBar
fn container_remove(&self, widget: &impl AsRef<Self::Child>)
Source§impl RelmRemoveExt for InfoBar
impl RelmRemoveExt for InfoBar
fn container_remove(&self, widget: &impl AsRef<Self::Child>)
Source§impl RelmRemoveExt for ListBox
impl RelmRemoveExt for ListBox
fn container_remove(&self, widget: &impl AsRef<Self::Child>)
Source§impl RelmRemoveExt for Stack
impl RelmRemoveExt for Stack
fn container_remove(&self, widget: &impl AsRef<Self::Child>)
Source§impl RelmRemoveExt for ExpanderRow
Available on crate feature libadwaita
only.
impl RelmRemoveExt for ExpanderRow
Available on crate feature
libadwaita
only.fn container_remove(&self, widget: &impl AsRef<Self::Child>)
fn container_remove(&self, widget: &impl AsRef<Self::Child>)
Source§impl RelmRemoveExt for PreferencesGroup
Available on crate feature libadwaita
only.
impl RelmRemoveExt for PreferencesGroup
Available on crate feature
libadwaita
only.