GimpUi.CellRendererColor

g GObject.InitiallyUnowned GObject.InitiallyUnowned Gtk.CellRenderer Gtk.CellRenderer GObject.InitiallyUnowned->Gtk.CellRenderer GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned GimpUi.CellRendererColor GimpUi.CellRendererColor Gtk.CellRenderer->GimpUi.CellRendererColor

Subclasses:

None

Methods

Inherited:

Gtk.CellRenderer (25), GObject.Object (37)

Structs:

Gtk.CellRendererClass (1), GObject.ObjectClass (5)

class

new ()

Virtual Methods

Inherited:

Gtk.CellRenderer (12), GObject.Object (7)

Properties

Inherited:

Gtk.CellRenderer (16)

Name

Type

Flags

Short Description

color

Gegl.Color

r/w/c

The displayed color

icon-size

int

r/w/c

The cell’s size

opaque

bool

r/w/c

Whether to show transparency

Signals

Inherited:

Gtk.CellRenderer (2), GObject.Object (1)

Fields

Inherited:

Gtk.CellRenderer (2), GObject.Object (1)

Class Details

class GimpUi.CellRendererColor(**kwargs)
Bases:

Gtk.CellRenderer

Abstract:

No

Structure:

GimpUi.CellRendererColorClass

A Gtk.CellRenderer to display a Gegl.Color color.

classmethod new()
Returns:

a new GimpUi.CellRendererColor

Return type:

Gtk.CellRenderer

Creates a Gtk.CellRenderer that displays a color.

New in version 2.2.

Property Details

GimpUi.CellRendererColor.props.color
Name:

color

Type:

Gegl.Color

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT

The displayed color

GimpUi.CellRendererColor.props.icon_size
Name:

icon-size

Type:

int

Default Value:

1

Flags:

READABLE, WRITABLE, CONSTRUCT

The cell’s size

GimpUi.CellRendererColor.props.opaque
Name:

opaque

Type:

bool

Default Value:

True

Flags:

READABLE, WRITABLE, CONSTRUCT

Whether to show transparency