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

Methods

Inherited:

Gtk.Window (119), Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10)

Structs:

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

class

new ()

set_color (color)

set_fraction (fraction)

Virtual Methods

Inherited:

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

Properties

Inherited:

Gtk.Window (33), Gtk.Container (3), Gtk.Widget (39)

Style Properties

Inherited:

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

Signals

Inherited:

Gtk.Window (5), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

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.