Dazzle.ChildPropertyAction

g Dazzle.ChildPropertyAction Dazzle.ChildPropertyAction GObject.GInterface GObject.GInterface Gio.Action Gio.Action GObject.GInterface->Gio.Action GObject.Object GObject.Object GObject.Object->Dazzle.ChildPropertyAction Gio.Action->Dazzle.ChildPropertyAction

Subclasses:

None

Methods

Inherited:

GObject.Object (37), Gio.Action (11)

Structs:

GObject.ObjectClass (5)

class

new (name, container, child, child_property_name)

Virtual Methods

Inherited:

GObject.Object (7), Gio.Action (8)

Properties

Inherited:

Gio.Action (5)

Name

Type

Flags

Short Description

child

Gtk.Widget

r

The child widget

child-property-name

str

r

The name of the child property

container

Gtk.Container

r

The container widget

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Dazzle.ChildPropertyAction(**kwargs)
Bases:

GObject.Object, Gio.Action

Abstract:

No

Structure:

Dazzle.ChildPropertyActionClass

classmethod new(name, container, child, child_property_name)
Parameters:
  • name (str) – the name of the action

  • container (Gtk.Container) – the container of the widget

  • child (Gtk.Widget) – the widget for the child property

  • child_property_name (str) – the name of the child property

Returns:

A new Dazzle.ChildPropertyAction.

Return type:

Gio.Action

This creates a new Gio.Action that will change when the underlying child property of container changes for child.

Property Details

Dazzle.ChildPropertyAction.props.child
Name:

child

Type:

Gtk.Widget

Default Value:

None

Flags:

READABLE

The child widget

Dazzle.ChildPropertyAction.props.child_property_name
Name:

child-property-name

Type:

str

Default Value:

None

Flags:

READABLE

The name of the child property

Dazzle.ChildPropertyAction.props.container
Name:

container

Type:

Gtk.Container

Default Value:

None

Flags:

READABLE

The container widget