ColordGtk.SampleWindow

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget ColordGtk.SampleWindow ColordGtk.SampleWindow 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.Bin Gtk.Bin Gtk.Window Gtk.Window Gtk.Bin->Gtk.Window Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gtk.Bin Gtk.Widget->Gtk.Container Gtk.Window->ColordGtk.SampleWindow

Subclasses:None

Style Properties

Inherited:Gtk.Window (2), Gtk.Widget (17)

Fields

Inherited:Gtk.Window (5), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)
Name Type Access Description
parent Gtk.Window r  
priv ColordGtk.SampleWindowPrivate r  

Class Details

class ColordGtk.SampleWindow(*args, **kwargs)
Bases:Gtk.Window
Abstract:No
Structure:ColordGtk.SampleWindowClass
classmethod new()
Returns:a new ColordGtk.SampleWindow object.
Return type:Gtk.Window

New in version 0.1.22.

set_color(color)
Parameters:color (Colord.ColorRGB) – the color

Sets the window to a specific color.

New in version 0.1.22.

set_fraction(fraction)
Parameters:fraction (float) – the fraction value to show, or -1 for pulsing.

Sets the percentage value on the window.

New in version 0.1.22.