ColordGtk.SampleWidget

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget ColordGtk.SampleWidget ColordGtk.SampleWidget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Buildable->Gtk.Widget Gtk.DrawingArea Gtk.DrawingArea Gtk.DrawingArea->ColordGtk.SampleWidget Gtk.Widget->Gtk.DrawingArea

Subclasses:

None

Methods

Inherited:

Gtk.DrawingArea (1), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10)

Structs:

Gtk.WidgetClass (12), GObject.ObjectClass (5)

class

new ()

set_color (color)

Virtual Methods

Inherited:

Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)

Properties

Inherited:

Gtk.Widget (39)

Name

Type

Flags

Short Description

color

Colord.ColorRGB

r/w

Style Properties

Inherited:

Gtk.Widget (17)

Signals

Inherited:

Gtk.Widget (69), GObject.Object (1)

Fields

Inherited:

Gtk.Widget (69), GObject.Object (1)

Name

Type

Access

Description

parent

Gtk.DrawingArea

r

Class Details

class ColordGtk.SampleWidget(**kwargs)
Bases:

Gtk.DrawingArea

Abstract:

No

Structure:

ColordGtk.SampleWidgetClass

classmethod new()
Returns:

A new ColordGtk.SampleWidget object.

Return type:

Gtk.Widget

New in version 0.1.24.

set_color(color)
Parameters:

color (Colord.ColorRGB) – A color

Sets the color for the sample widget

New in version 0.1.24.

Property Details

ColordGtk.SampleWidget.props.color
Name:

color

Type:

Colord.ColorRGB

Default Value:

None

Flags:

READABLE, WRITABLE