Dazzle.SettingsFlagAction

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

Subclasses:

None

Methods

Inherited:

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

Structs:

GObject.ObjectClass (5)

class

new (schema_id, schema_key, flag_nick)

Virtual Methods

Inherited:

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

Properties

Inherited:

Gio.Action (5)

Name

Type

Flags

Short Description

flag-nick

str

r/w/co

Flag Nick

schema-id

str

r/w/co

Schema Id

schema-key

str

r/w

Schema Key

Signals

Inherited:

GObject.Object (1)

Fields

Inherited:

GObject.Object (1)

Class Details

class Dazzle.SettingsFlagAction(**kwargs)
Bases:

GObject.Object, Gio.Action

Abstract:

No

Structure:

Dazzle.SettingsFlagActionClass

classmethod new(schema_id, schema_key, flag_nick)
Parameters:
  • schema_id (str) –

  • schema_key (str) –

  • flag_nick (str) –

Returns:

A new Gio.Action.

Return type:

Gio.Action

This creates a new action that can be used to toggle an individual flag in a Gio.Settings key which is of a flags type.

Property Details

Dazzle.SettingsFlagAction.props.flag_nick
Name:

flag-nick

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Flag Nick

Dazzle.SettingsFlagAction.props.schema_id
Name:

schema-id

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

Schema Id

Dazzle.SettingsFlagAction.props.schema_key
Name:

schema-key

Type:

str

Default Value:

None

Flags:

READABLE, WRITABLE

Schema Key