Trait sourceview5::prelude::GutterRendererPixbufExt [−][src]
Required methods
fn get_gicon(&self) -> Option<Icon>[src]
fn get_icon_name(&self) -> Option<GString>[src]
fn get_paintable(&self) -> Option<Paintable>[src]
Gets a gdk::Paintable that was set with
GutterRendererPixbufExt::set_paintable
Feature: v5_0
Returns
a gdk::Paintable or None
fn get_pixbuf(&self) -> Option<Pixbuf>[src]
fn overlay_paintable<P: IsA<Paintable>>(&self, paintable: &P)[src]
Allows overlaying a paintable on top of any other image that has been set for the pixbuf. This will be applied when the widget is next snapshot.
Feature: v5_0
paintable
a gdk::Paintable
fn set_gicon<P: IsA<Icon>>(&self, icon: Option<&P>)[src]
icon
the icon, or None.
fn set_icon_name(&self, icon_name: Option<&str>)[src]
icon_name
the icon name, or None.
fn set_paintable<P: IsA<Paintable>>(&self, paintable: Option<&P>)[src]
paintable
the paintable, or None.
fn set_pixbuf(&self, pixbuf: Option<&Pixbuf>)[src]
pixbuf
the pixbuf, or None.
fn get_property_paintable(&self) -> Option<Paintable>[src]
fn connect_property_gicon_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_icon_name_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_paintable_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_pixbuf_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
&self,
f: F
) -> SignalHandlerId
Implementors
impl<O: IsA<GutterRendererPixbuf>> GutterRendererPixbufExt for O[src]
fn get_gicon(&self) -> Option<Icon>[src]
fn get_icon_name(&self) -> Option<GString>[src]
fn get_paintable(&self) -> Option<Paintable>[src]
fn get_pixbuf(&self) -> Option<Pixbuf>[src]
fn overlay_paintable<P: IsA<Paintable>>(&self, paintable: &P)[src]
fn set_gicon<P: IsA<Icon>>(&self, icon: Option<&P>)[src]
fn set_icon_name(&self, icon_name: Option<&str>)[src]
fn set_paintable<P: IsA<Paintable>>(&self, paintable: Option<&P>)[src]
fn set_pixbuf(&self, pixbuf: Option<&Pixbuf>)[src]
fn get_property_paintable(&self) -> Option<Paintable>[src]
fn connect_property_gicon_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_icon_name_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_paintable_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
&self,
f: F
) -> SignalHandlerId
fn connect_property_pixbuf_notify<F: Fn(&Self) + 'static>(
&self,
f: F
) -> SignalHandlerId[src]
&self,
f: F
) -> SignalHandlerId