[go: up one dir, main page]

FlowBoxChildExt

Trait FlowBoxChildExt 

Source
pub trait FlowBoxChildExt: IsA<FlowBoxChild> + 'static {
    // Provided methods
    fn changed(&self) { ... }
    fn child(&self) -> Option<Widget> { ... }
    fn index(&self) -> i32 { ... }
    fn is_selected(&self) -> bool { ... }
    fn set_child(&self, child: Option<&impl IsA<Widget>>) { ... }
    fn connect_activate<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId { ... }
    fn emit_activate(&self) { ... }
    fn connect_child_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F,
    ) -> SignalHandlerId { ... }
}

Provided Methods§

Source

fn changed(&self)

Source

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

Source

fn index(&self) -> i32

Source

fn is_selected(&self) -> bool

Source

fn set_child(&self, child: Option<&impl IsA<Widget>>)

Source

fn connect_activate<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

Source

fn emit_activate(&self)

Source

fn connect_child_notify<F: Fn(&Self) + 'static>(&self, f: F) -> SignalHandlerId

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§