gtk::subclass::container

Trait ContainerImplExt

Source
pub trait ContainerImplExt: ObjectSubclass + Sealed {
    // Provided methods
    fn parent_add(&self, widget: &Widget) { ... }
    fn parent_remove(&self, widget: &Widget) { ... }
    fn parent_check_resize(&self) { ... }
    fn parent_set_focus_child(&self, widget: Option<&Widget>) { ... }
    fn parent_child_type(&self) -> Type { ... }
    fn parent_path_for_child(&self, widget: &Widget) -> WidgetPath { ... }
    fn parent_forall(&self, include_internals: bool, callback: &Callback) { ... }
}

Provided Methods§

Source

fn parent_add(&self, widget: &Widget)

Source

fn parent_remove(&self, widget: &Widget)

Source

fn parent_check_resize(&self)

Source

fn parent_set_focus_child(&self, widget: Option<&Widget>)

Source

fn parent_child_type(&self) -> Type

Source

fn parent_path_for_child(&self, widget: &Widget) -> WidgetPath

Source

fn parent_forall(&self, include_internals: bool, callback: &Callback)

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.

Implementors§