Trait MarkAttributesExt

Source
pub trait MarkAttributesExt: 'static {
Show 19 methods // Required methods fn get_background(&self) -> Option<RGBA>; fn get_gicon(&self) -> Option<Icon>; fn get_icon_name(&self) -> Option<GString>; fn get_stock_id(&self) -> Option<GString>; fn get_tooltip_markup<P: IsA<Mark>>(&self, mark: &P) -> Option<GString>; fn get_tooltip_text<P: IsA<Mark>>(&self, mark: &P) -> Option<GString>; fn set_background(&self, background: &RGBA); fn set_gicon<P: IsA<Icon>>(&self, gicon: &P); fn set_icon_name(&self, icon_name: &str); fn set_pixbuf(&self, pixbuf: &Pixbuf); fn set_stock_id(&self, stock_id: &str); fn get_property_pixbuf(&self) -> Option<Pixbuf>; fn connect_query_tooltip_markup<F: Fn(&Self, &Mark) -> String + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_query_tooltip_text<F: Fn(&Self, &Mark) -> String + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_background_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_gicon_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_icon_name_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_pixbuf_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId; fn connect_property_stock_id_notify<F: Fn(&Self) + 'static>( &self, f: F, ) -> SignalHandlerId;
}

Required Methods§

Source

fn get_background(&self) -> Option<RGBA>

Source

fn get_gicon(&self) -> Option<Icon>

Source

fn get_icon_name(&self) -> Option<GString>

Source

fn get_stock_id(&self) -> Option<GString>

Source

fn get_tooltip_markup<P: IsA<Mark>>(&self, mark: &P) -> Option<GString>

Source

fn get_tooltip_text<P: IsA<Mark>>(&self, mark: &P) -> Option<GString>

Source

fn set_background(&self, background: &RGBA)

Source

fn set_gicon<P: IsA<Icon>>(&self, gicon: &P)

Source

fn set_icon_name(&self, icon_name: &str)

Source

fn set_pixbuf(&self, pixbuf: &Pixbuf)

Source

fn set_stock_id(&self, stock_id: &str)

Source

fn get_property_pixbuf(&self) -> Option<Pixbuf>

Source

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

Source

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

Source

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

Source

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

Source

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

Source

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

Source

fn connect_property_stock_id_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§