Dazzle.WidgetActionGroup

g Dazzle.WidgetActionGroup Dazzle.WidgetActionGroup GObject.GInterface GObject.GInterface Gio.ActionGroup Gio.ActionGroup GObject.GInterface->Gio.ActionGroup GObject.Object GObject.Object GObject.Object->Dazzle.WidgetActionGroup Gio.ActionGroup->Dazzle.WidgetActionGroup

Subclasses:

None

Methods

Inherited:

GObject.Object (37), Gio.ActionGroup (14)

Structs:

GObject.ObjectClass (5)

class

attach (widget, group_name)

class

new (widget)

set_action_enabled (action_name, enabled)

Virtual Methods

Inherited:

GObject.Object (7), Gio.ActionGroup (14)

Properties

Name

Type

Flags

Short Description

widget

Gtk.Widget

r/w/co

Widget

Signals

Inherited:

GObject.Object (1), Gio.ActionGroup (4)

Fields

Inherited:

GObject.Object (1), Gio.ActionGroup (4)

Class Details

class Dazzle.WidgetActionGroup(**kwargs)
Bases:

GObject.Object, Gio.ActionGroup

Abstract:

No

Structure:

Dazzle.WidgetActionGroupClass

classmethod attach(widget, group_name)
Parameters:

Helper function to create an Dazzle.WidgetActionGroup and attach it to widget using the group name group_name.

classmethod new(widget)
Parameters:

widget (Gtk.Widget) –

Returns:

An Dazzle.WidgetActionGroup.

Return type:

Gio.ActionGroup

set_action_enabled(action_name, enabled)
Parameters:
  • action_name (str) –

  • enabled (bool) –

Property Details

Dazzle.WidgetActionGroup.props.widget
Name:

widget

Type:

Gtk.Widget

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Widget