Trait gtk::prelude::OverlayExt

source ·
pub trait OverlayExt: IsA<Overlay> + Sealed + 'static {
    // Provided methods
    fn add_overlay(&self, widget: &impl IsA<Widget>) { ... }
    fn is_overlay_pass_through(&self, widget: &impl IsA<Widget>) -> bool { ... }
    fn reorder_overlay(&self, child: &impl IsA<Widget>, index_: i32) { ... }
    fn set_overlay_pass_through(
        &self,
        widget: &impl IsA<Widget>,
        pass_through: bool
    ) { ... }
    fn child_index<T: IsA<Widget>>(&self, item: &T) -> i32 { ... }
    fn set_child_index<T: IsA<Widget>>(&self, item: &T, index: i32) { ... }
}

Provided Methods§

source

fn add_overlay(&self, widget: &impl IsA<Widget>)

source

fn is_overlay_pass_through(&self, widget: &impl IsA<Widget>) -> bool

source

fn reorder_overlay(&self, child: &impl IsA<Widget>, index_: i32)

source

fn set_overlay_pass_through( &self, widget: &impl IsA<Widget>, pass_through: bool )

source

fn child_index<T: IsA<Widget>>(&self, item: &T) -> i32

source

fn set_child_index<T: IsA<Widget>>(&self, item: &T, index: i32)

Implementors§