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

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)

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