InfGtk.AccountCreationDialog¶
- 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 |
|
|
Virtual Methods¶
- Inherited:
Gtk.Dialog (2), Gtk.Window (5), Gtk.Container (10), Gtk.Widget (82), GObject.Object (7), Gtk.Buildable (10)
|
Properties¶
- Inherited:
Gtk.Dialog (1), Gtk.Window (33), Gtk.Container (3), Gtk.Widget (39)
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/c |
The infinote directory for which to create an account |
||
r/w/co |
The |
Style Properties¶
- Inherited:
Signals¶
Name |
Short Description |
---|---|
This signal is emitted whenever a new account has been created with the dialog. |
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
parent |
r |
Class Details¶
- class InfGtk.AccountCreationDialog(*args, **kwargs)¶
- Bases:
- Abstract:
No
- Structure:
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:
parent (
Gtk.Window
) – ParentGtk.Window
of the dialog.dialog_flags (
Gtk.DialogFlags
) – Flags for the dialog, seeGtk.DialogFlags
.io (
Infinity.Io
) – AInfinity.Io
object to schedule asynchronous operations.browser (
Infinity.Browser
) – TheInfinity.Browser
for which to create a new account.
- Returns:
A new
InfGtk.AccountCreationDialog
. Free withGtk.Widget.destroy
() when no longer needed.- Return type:
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
) – TheInfinity.Browser
for which to create a new account, orNone
.
Changes the browser for which to create a new account.
- do_account_created(key, chain, account) virtual¶
- Parameters:
key (
InfGnutls.X509PrivKey
) –chain (
Infinity.CertificateChain
) –account (
Infinity.AclAccount
) –
Signal Details¶
- InfGtk.AccountCreationDialog.signals.account_created(account_creation_dialog, key, certificate, account)¶
- Signal Name:
account-created
- Flags:
- Parameters:
account_creation_dialog (
InfGtk.AccountCreationDialog
) – The object which received the signalkey (
object
orNone
) – A newly generated private key that the user certificate is signed with.certificate (
Infinity.CertificateChain
) – A certificate signed by the server associated to the new account.account (
Infinity.AclAccount
) – The newly created account.
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:
- Default Value:
- Flags:
The infinote directory for which to create an account
- InfGtk.AccountCreationDialog.props.io¶
- Name:
io
- Type:
- Default Value:
- Flags:
The
Infinity.Io
object to schedule asynchronous operations