GtkSource.GutterRendererPixbuf

g GObject.InitiallyUnowned GObject.InitiallyUnowned GtkSource.GutterRenderer GtkSource.GutterRenderer GObject.InitiallyUnowned->GtkSource.GutterRenderer GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned GtkSource.GutterRendererPixbuf GtkSource.GutterRendererPixbuf GtkSource.GutterRenderer->GtkSource.GutterRendererPixbuf

Subclasses:

None

Methods

Inherited:

GtkSource.GutterRenderer (22), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new ()

get_gicon ()

get_icon_name ()

get_pixbuf ()

set_gicon (icon)

set_icon_name (icon_name)

set_pixbuf (pixbuf)

Virtual Methods

Inherited:

GtkSource.GutterRenderer (10), GObject.Object (7)

Properties

Inherited:

GtkSource.GutterRenderer (11)

Name

Type

Flags

Short Description

gicon

Gio.Icon

r/w

The gicon

icon-name

str

r/w

The icon name

pixbuf

GdkPixbuf.Pixbuf

r/w

The pixbuf

Signals

Inherited:

GtkSource.GutterRenderer (5), GObject.Object (1)

Fields

Inherited:

GtkSource.GutterRenderer (5), GObject.Object (1)

Name

Type

Access

Description

parent

GtkSource.GutterRenderer

r

Class Details

class GtkSource.GutterRendererPixbuf(**kwargs)
Bases:

GtkSource.GutterRenderer

Abstract:

No

Structure:

GtkSource.GutterRendererPixbufClass

classmethod new()
Returns:

A GtkSource.GutterRenderer

Return type:

GtkSource.GutterRenderer

Create a new GtkSource.GutterRendererPixbuf.

get_gicon()
Returns:

a Gio.Icon

Return type:

Gio.Icon

Get the gicon of the renderer

get_icon_name()
Return type:

str

get_pixbuf()
Returns:

a GdkPixbuf.Pixbuf

Return type:

GdkPixbuf.Pixbuf

Get the pixbuf of the renderer.

set_gicon(icon)
Parameters:

icon (Gio.Icon or None) – the icon, or None.

set_icon_name(icon_name)
Parameters:

icon_name (str or None) – the icon name, or None.

set_pixbuf(pixbuf)
Parameters:

pixbuf (GdkPixbuf.Pixbuf or None) – the pixbuf, or None.

Property Details

GtkSource.GutterRendererPixbuf.props.gicon
Name:

gicon

Type:

Gio.Icon

Default Value:

None

Flags:

READABLE, WRITABLE

The gicon

GtkSource.GutterRendererPixbuf.props.icon_name
Name:

icon-name

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

The icon name

GtkSource.GutterRendererPixbuf.props.pixbuf
Name:

pixbuf

Type:

GdkPixbuf.Pixbuf

Default Value:

None

Flags:

READABLE, WRITABLE

The pixbuf