Dazzle.SimpleLabel

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget Dazzle.SimpleLabel Dazzle.SimpleLabel 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.Widget->Dazzle.SimpleLabel

Subclasses:

None

Methods

Inherited:

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

Structs:

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

class

new (label)

get_label ()

get_width_chars ()

get_xalign ()

set_label (label)

set_width_chars (width_chars)

set_xalign (xalign)

Virtual Methods

Inherited:

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

Properties

Inherited:

Gtk.Widget (39)

Name

Type

Flags

Short Description

label

str

r/w

width-chars

int

r/w

xalign

float

r/w

Style Properties

Inherited:

Gtk.Widget (17)

Signals

Inherited:

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

Fields

Inherited:

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

Class Details

class Dazzle.SimpleLabel(**kwargs)
Bases:

Gtk.Widget

Abstract:

No

Structure:

Dazzle.SimpleLabelClass

classmethod new(label)
Parameters:

label (str) –

Return type:

Gtk.Widget

get_label()
Return type:

str

get_width_chars()
Return type:

int

get_xalign()
Return type:

float

set_label(label)
Parameters:

label (str) –

set_width_chars(width_chars)
Parameters:

width_chars (int) –

set_xalign(xalign)
Parameters:

xalign (float) –

Property Details

Dazzle.SimpleLabel.props.label
Name:

label

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Dazzle.SimpleLabel.props.width_chars
Name:

width-chars

Type:

int

Default Value:

-1

Flags:

READABLE, WRITABLE

Dazzle.SimpleLabel.props.xalign
Name:

xalign

Type:

float

Default Value:

0.5

Flags:

READABLE, WRITABLE