Gladeui.PropertyShell

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 Gtk.Orientable Gtk.Orientable GObject.GInterface->Gtk.Orientable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gladeui.PropertyShell Gladeui.PropertyShell Gladeui.Editable->Gladeui.PropertyShell Gtk.Box Gtk.Box Gtk.Box->Gladeui.PropertyShell Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gtk.Box Gtk.Orientable->Gtk.Box Gtk.Widget->Gtk.Container

Subclasses:

None

Methods

Inherited:

Gtk.Box (14), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10), Gtk.Orientable (2), Gladeui.Editable (6)

Structs:

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

class

new ()

get_custom_text ()

get_disable_check ()

get_packing ()

get_property_name ()

get_use_command ()

set_custom_text (custom_text)

set_disable_check (disable_check)

set_packing (packing)

set_property_name (property_name)

set_use_command (use_command)

Virtual Methods

Inherited:

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

Properties

Inherited:

Gtk.Box (3), Gtk.Container (3), Gtk.Widget (39), Gtk.Orientable (1)

Name

Type

Flags

Short Description

custom-text

str

r/w

Custom Text to display in the property label

disable-check

bool

r/w

Whether to explicitly disable the check button

editor-type

str

w/co

Specify the actual editor property type name to use for this shell

packing

bool

r/w

Whether the property to load is a packing property or not

property-name

str

r/w

The property name to use when loading by widget

use-command

bool

r/w

Whether to use the Gladeui.Command API when modifying properties

Child Properties

Inherited:

Gtk.Box (5)

Style Properties

Inherited:

Gtk.Widget (17)

Signals

Inherited:

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

Name

Short Description

post-commit

Emitted after a property’s value is committed, can be useful to serialize commands after a property’s commit command from custom editors.

pre-commit

Emitted before a property’s value is committed, can be useful to serialize commands before a property’s commit command from custom editors.

Fields

Inherited:

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

Name

Type

Access

Description

box

Gtk.Box

r

Class Details

class Gladeui.PropertyShell(*args, **kwargs)
Bases:

Gtk.Box, Gladeui.Editable

Abstract:

No

Structure:

Gladeui.PropertyShellClass

classmethod new()
Return type:

Gtk.Widget

get_custom_text()
Return type:

str

get_disable_check()
Return type:

bool

get_packing()
Return type:

bool

get_property_name()
Return type:

str

get_use_command()
Return type:

bool

set_custom_text(custom_text)
Parameters:

custom_text (str) –

set_disable_check(disable_check)
Parameters:

disable_check (bool) –

set_packing(packing)
Parameters:

packing (bool) –

set_property_name(property_name)
Parameters:

property_name (str) –

set_use_command(use_command)
Parameters:

use_command (bool) –

Signal Details

Gladeui.PropertyShell.signals.post_commit(property_shell, arg1)
Signal Name:

post-commit

Flags:

RUN_LAST

Parameters:

Emitted after a property’s value is committed, can be useful to serialize commands after a property’s commit command from custom editors.

Gladeui.PropertyShell.signals.pre_commit(property_shell, arg1)
Signal Name:

pre-commit

Flags:

RUN_LAST

Parameters:

Emitted before a property’s value is committed, can be useful to serialize commands before a property’s commit command from custom editors.

Property Details

Gladeui.PropertyShell.props.custom_text
Name:

custom-text

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Custom Text to display in the property label

Gladeui.PropertyShell.props.disable_check
Name:

disable-check

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Whether to explicitly disable the check button

Gladeui.PropertyShell.props.editor_type
Name:

editor-type

Type:

str

Default Value:

None

Flags:

WRITABLE, CONSTRUCT_ONLY

Specify the actual editor property type name to use for this shell

Gladeui.PropertyShell.props.packing
Name:

packing

Type:

bool

Default Value:

False

Flags:

READABLE, WRITABLE

Whether the property to load is a packing property or not

Gladeui.PropertyShell.props.property_name
Name:

property-name

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

The property name to use when loading by widget

Gladeui.PropertyShell.props.use_command
Name:

use-command

Type:

bool

Default Value:

True

Flags:

READABLE, WRITABLE

Whether to use the Gladeui.Command API when modifying properties