pub trait GutterRendererPixbufExt: IsA<GutterRendererPixbuf> + Sealed + 'static {
    // Provided methods
    fn gicon(&self) -> Option<Icon> { ... }
    fn icon_name(&self) -> Option<GString> { ... }
    fn pixbuf(&self) -> Option<Pixbuf> { ... }
    fn set_gicon(&self, icon: Option<&impl IsA<Icon>>) { ... }
    fn set_icon_name(&self, icon_name: Option<&str>) { ... }
    fn set_pixbuf(&self, pixbuf: Option<&Pixbuf>) { ... }
    fn connect_gicon_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
    fn connect_icon_name_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
    fn connect_pixbuf_notify<F: Fn(&Self) + 'static>(
        &self,
        f: F
    ) -> SignalHandlerId { ... }
}
Expand description

Provided Methods§

source

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

Get the gicon of the renderer

Returns

a gio::Icon

source

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

source

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

Get the pixbuf of the renderer.

Returns

a gdk_pixbuf::Pixbuf

source

fn set_gicon(&self, icon: Option<&impl IsA<Icon>>)

icon

the icon, or None.

source

fn set_icon_name(&self, icon_name: Option<&str>)

icon_name

the icon name, or None.

source

fn set_pixbuf(&self, pixbuf: Option<&Pixbuf>)

pixbuf

the pixbuf, or None.

source

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

source

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

source

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

Object Safety§

This trait is not object safe.

Implementors§