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