Gladeui.PropertyLabel

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gladeui.Editable Gladeui.Editable GObject.GInterface->Gladeui.Editable Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gladeui.PropertyLabel Gladeui.PropertyLabel Gladeui.Editable->Gladeui.PropertyLabel Gtk.Bin Gtk.Bin Gtk.EventBox Gtk.EventBox Gtk.Bin->Gtk.EventBox Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gtk.Bin Gtk.EventBox->Gladeui.PropertyLabel Gtk.Widget->Gtk.Container

Subclasses:

None

Methods

Inherited:

Gtk.EventBox (5), Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gladeui.Editable (6)

Structs:

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

class

new ()

get_append_colon ()

get_custom_text ()

get_custom_tooltip ()

get_packing ()

get_property ()

get_property_name ()

set_append_colon (append_colon)

set_custom_text (custom_text)

set_custom_tooltip (custom_tooltip)

set_packing (packing)

set_property (property)

set_property_name (property_name)

Virtual Methods

Inherited:

Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10), Gladeui.Editable (2)

Properties

Inherited:

Gtk.EventBox (2), Gtk.Container (3), Gtk.Widget (39)

Name

Type

Flags

Short Description

append-colon

bool

r/w

Whether to append a colon ‘:’ to the property name

custom-text

str

r/w

Custom text to override the property name

custom-tooltip

str

r/w

Custom tooltip to override the property description

packing

bool

r/w

Whether the property to load is a packing property or not

property

Gladeui.Property

r/w

The Gladeui.Property to display a label for

property-name

str

r/w

The property name to use when loading by widget

Style Properties

Inherited:

Gtk.Widget (17)

Signals

Inherited:

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

Fields

Inherited:

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

Name

Type

Access

Description

box

Gtk.EventBox

r

Class Details

class Gladeui.PropertyLabel(**kwargs)
Bases:

Gtk.EventBox, Gladeui.Editable

Abstract:

No

Structure:

Gladeui.PropertyLabelClass

classmethod new()
Return type:

Gtk.Widget

get_append_colon()
Return type:

bool

get_custom_text()
Return type:

str

get_custom_tooltip()
Return type:

str

get_packing()
Return type:

bool

get_property()
Returns:

A Gladeui.Property

Return type:

Gladeui.Property

get_property_name()
Return type:

str

set_append_colon(append_colon)
Parameters:

append_colon (bool) –

set_custom_text(custom_text)
Parameters:

custom_text (str) –

set_custom_tooltip(custom_tooltip)
Parameters:

custom_tooltip (str) –

set_packing(packing)
Parameters:

packing (bool) –

set_property(property)
Parameters:

property (Gladeui.Property) –

set_property_name(property_name)
Parameters:

property_name (str) –

Property Details

Gladeui.PropertyLabel.props.append_colon
Name:

append-colon

Type:

bool

Default Value:

True

Flags:

READABLE, WRITABLE

Whether to append a colon ‘:’ to the property name

Gladeui.PropertyLabel.props.custom_text
Name:

custom-text

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Custom text to override the property name

Gladeui.PropertyLabel.props.custom_tooltip
Name:

custom-tooltip

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Custom tooltip to override the property description

Gladeui.PropertyLabel.props.packing
Name:

packing

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Whether the property to load is a packing property or not

Gladeui.PropertyLabel.props.property
Name:

property

Type:

Gladeui.Property

Default Value:

None

Flags:

READABLE, WRITABLE

The Gladeui.Property to display a label for

Gladeui.PropertyLabel.props.property_name
Name:

property-name

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

The property name to use when loading by widget