GtkSource.GutterRendererPixbuf¶
- Subclasses:
None
Methods¶
- Inherited:
GtkSource.GutterRenderer (15), Gtk.Widget (181), GObject.Object (37), Gtk.Accessible (15), Gtk.Buildable (1)
- Structs:
class |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/en |
The gicon |
||
r/w/en |
The icon name |
||
r/w/en |
The paintable |
||
r/w/en |
The pixbuf |
Signals¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
parent_instance |
r |
Class Details¶
- class GtkSource.GutterRendererPixbuf(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Renders a pixbuf in the gutter.
A
GtkSourceGutterRendererPixbuf
can be used to render an image in a cell of [class`Gutter`].- classmethod new()¶
- Returns:
- Return type:
Create a new
GtkSource.GutterRendererPixbuf
.
- get_paintable()¶
- Returns:
a
Gdk.Paintable
orNone
- Return type:
Gets a [iface`Gdk`.Paintable] that was set with [method`GutterRendererPixbuf`.set_paintable]
- get_pixbuf()¶
- Returns:
- Return type:
Get the pixbuf of the renderer.
- overlay_paintable(paintable)¶
- Parameters:
paintable (
Gdk.Paintable
) – aGdk.Paintable
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.
- set_paintable(paintable)¶
- Parameters:
paintable (
Gdk.Paintable
orNone
) – the paintable, orNone
.
- set_pixbuf(pixbuf)¶
- Parameters:
pixbuf (
GdkPixbuf.Pixbuf
orNone
) – the pixbuf, orNone
.
Property Details¶
- GtkSource.GutterRendererPixbuf.props.gicon¶
- Name:
gicon
- Type:
- Default Value:
- Flags:
The gicon
- GtkSource.GutterRendererPixbuf.props.icon_name¶
- Name:
icon-name
- Type:
- Default Value:
- Flags:
The icon name
- GtkSource.GutterRendererPixbuf.props.paintable¶
- Name:
paintable
- Type:
- Default Value:
- Flags:
The paintable
- GtkSource.GutterRendererPixbuf.props.pixbuf¶
- Name:
pixbuf
- Type:
- Default Value:
- Flags:
The pixbuf