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 ()

get_stock_id ()

set_gicon (icon)

set_icon_name (icon_name)

set_pixbuf (pixbuf)

set_stock_id (stock_id)

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

stock-id

str

d/r/w

The stock id deprecated

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.

get_stock_id()
Returns:

the stock id.

Return type:

str

Deprecated since version 3.10: Don’t use this function.

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.

set_stock_id(stock_id)
Parameters:

stock_id (str or None) – the stock id

Deprecated since version 3.10: Don’t use this function.

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

GtkSource.GutterRendererPixbuf.props.stock_id
Name:

stock-id

Type:

str

Default Value:

None

Flags:

DEPRECATED, READABLE, WRITABLE

The stock id.

Deprecated since version 3.10: Don’t use this property.