InfGtk.AccountCreationDialog

g Atk.ImplementorIface Atk.ImplementorIface Gtk.Widget Gtk.Widget Atk.ImplementorIface->Gtk.Widget GObject.GInterface GObject.GInterface GObject.GInterface->Atk.ImplementorIface Gtk.Buildable Gtk.Buildable GObject.GInterface->Gtk.Buildable GObject.InitiallyUnowned GObject.InitiallyUnowned GObject.InitiallyUnowned->Gtk.Widget GObject.Object GObject.Object GObject.Object->GObject.InitiallyUnowned Gtk.Bin Gtk.Bin Gtk.Window Gtk.Window Gtk.Bin->Gtk.Window Gtk.Buildable->Gtk.Widget Gtk.Container Gtk.Container Gtk.Container->Gtk.Bin Gtk.Dialog Gtk.Dialog InfGtk.AccountCreationDialog InfGtk.AccountCreationDialog Gtk.Dialog->InfGtk.AccountCreationDialog Gtk.Widget->Gtk.Container Gtk.Window->Gtk.Dialog

Subclasses:

None

Methods

Inherited:

Gtk.Dialog (14), Gtk.Window (119), Gtk.Bin (1), Gtk.Container (35), Gtk.Widget (278), GObject.Object (37), Gtk.Buildable (10)

Structs:

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

class

new (parent, dialog_flags, io, browser)

set_browser (browser)

Virtual Methods

Inherited:

Gtk.Dialog (2), Gtk.Window (5), Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)

do_account_created (key, chain, account)

Properties

Inherited:

Gtk.Dialog (1), Gtk.Window (33), Gtk.Container (3), Gtk.Widget (39)

Name

Type

Flags

Short Description

browser

Infinity.Browser

r/w/c

The infinote directory for which to create an account

io

Infinity.Io

r/w/co

The Infinity.Io object to schedule asynchronous operations

Style Properties

Inherited:

Gtk.Dialog (4), Gtk.Window (2), Gtk.Widget (17)

Signals

Inherited:

Gtk.Dialog (2), Gtk.Window (5), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Name

Short Description

account-created

This signal is emitted whenever a new account has been created with the dialog.

Fields

Inherited:

Gtk.Dialog (2), Gtk.Window (5), Gtk.Container (4), Gtk.Widget (69), GObject.Object (1)

Name

Type

Access

Description

parent

Gtk.Dialog

r

Class Details

class InfGtk.AccountCreationDialog(*args, **kwargs)
Bases:

Gtk.Dialog

Abstract:

No

Structure:

InfGtk.AccountCreationDialogClass

InfGtk.AccountCreationDialog is an opaque data type. You should only access it via the public API functions.

classmethod new(parent, dialog_flags, io, browser)
Parameters:
Returns:

A new InfGtk.AccountCreationDialog. Free with Gtk.Widget.destroy() when no longer needed.

Return type:

InfGtk.AccountCreationDialog

Creates a new InfGtk.AccountCreationDialog, which can be used to generate a new account on the infinote directory represented by the given browser.

set_browser(browser)
Parameters:

browser (Infinity.Browser) – The Infinity.Browser for which to create a new account, or None.

Changes the browser for which to create a new account.

do_account_created(key, chain, account) virtual
Parameters:

Signal Details

InfGtk.AccountCreationDialog.signals.account_created(account_creation_dialog, key, certificate, account)
Signal Name:

account-created

Flags:

RUN_LAST

Parameters:

This signal is emitted whenever a new account has been created with the dialog. Along with the created account, the login credentials are provided. Note that the private key is owned by the dialog, and will be deleted after the signal was emitted.

Property Details

InfGtk.AccountCreationDialog.props.browser
Name:

browser

Type:

Infinity.Browser

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT

The infinote directory for which to create an account

InfGtk.AccountCreationDialog.props.io
Name:

io

Type:

Infinity.Io

Default Value:

None

Flags:

READABLE, WRITABLE, CONSTRUCT_ONLY

The Infinity.Io object to schedule asynchronous operations