Trait fusebox::prelude::FuseExt

source ·
pub trait FuseExt: IsA<Fuse> + Sealed + 'static {
Show 13 methods // Provided methods fn widget(&self) -> Widget { ... } fn shown(&self) { ... } fn hidden(&self) { ... } fn search_callback(&self, location: &str) { ... } fn category(&self) -> FuseCategory { ... } fn index(&self) -> i32 { ... } fn code_name(&self) -> GString { ... } fn display_name(&self) -> GString { ... } fn description(&self) -> GString { ... } fn icon(&self) -> GString { ... } fn can_show(&self) -> bool { ... } fn set_can_show(&self, value: bool) { ... } fn connect_can_show_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId { ... }
}
Expand description

Trait containing all Fuse methods.

§Implementors

Fuse

Provided Methods§

source

fn widget(&self) -> Widget

Returns the widget that contain the whole interface.

§Returns

a GtkWidget containing the interface.

source

fn shown(&self)

Called when the Fuse appears to the user.

source

fn hidden(&self)

Called when the Fuse disappear to the user. This is not called when the Fuse got destroyed or the window is closed, use ~Fuse () instead.

source

fn search_callback(&self, location: &str)

This function is used when the user click on a search result, it should show the selected setting (right tab…).

§location

a gchar that represents the setting to show.

source

fn category(&self) -> FuseCategory

source

fn index(&self) -> i32

source

fn code_name(&self) -> GString

source

fn display_name(&self) -> GString

source

fn description(&self) -> GString

source

fn icon(&self) -> GString

source

fn can_show(&self) -> bool

source

fn set_can_show(&self, value: bool)

source

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

Object Safety§

This trait is not object safe.

Implementors§

source§

impl<O: IsA<Fuse>> FuseExt for O