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

Properties

Inherited:Gtk.Widget (39)
Name Type Flags Short Description
color Colord.ColorRGB r/w  

Style Properties

Inherited:Gtk.Widget (17)

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