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§
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
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.