TelepathyGLib.SimpleApprover

g GObject.Object GObject.Object TelepathyGLib.BaseClient TelepathyGLib.BaseClient GObject.Object->TelepathyGLib.BaseClient TelepathyGLib.SimpleApprover TelepathyGLib.SimpleApprover TelepathyGLib.BaseClient->TelepathyGLib.SimpleApprover

Subclasses:

None

Methods

Inherited:

TelepathyGLib.BaseClient (32), GObject.Object (37)

Structs:

GObject.ObjectClass (5)

class

new (dbus, name, uniquify, callback, *user_data)

class

new_with_am (account_manager, name, uniquify, callback, *user_data)

class

new_with_factory (factory, name, uniquify, callback, *user_data)

Virtual Methods

Inherited:

TelepathyGLib.BaseClient (3), GObject.Object (7)

Properties

Inherited:

TelepathyGLib.BaseClient (6)

Name

Type

Flags

Short Description

callback

int

w/co

Function called when ApproverChannels is called

destroy

int

w/co

function called to destroy the user-data when destroying the approver

user-data

int

w/co

pointer passed as user-data when ApproverChannels is called

Signals

Inherited:

TelepathyGLib.BaseClient (2), GObject.Object (1)

Fields

Inherited:

TelepathyGLib.BaseClient (2), GObject.Object (1)

Name

Type

Access

Description

parent

TelepathyGLib.BaseClient

r

Class Details

class TelepathyGLib.SimpleApprover(**kwargs)
Bases:

TelepathyGLib.BaseClient

Abstract:

No

Structure:

TelepathyGLib.SimpleApproverClass

Data structure representing a simple Approver implementation.

New in version 0.11.5.

classmethod new(dbus, name, uniquify, callback, *user_data)
Parameters:
Returns:

a new TelepathyGLib.SimpleApprover

Return type:

TelepathyGLib.SimpleApprover

Convenient function to create a new TelepathyGLib.SimpleApprover instance.

If dbus is not the result of TelepathyGLib.DBusDaemon.dup(), you should call TelepathyGLib.SimpleApprover.new_with_am() instead, so that TelepathyGLib.Account, TelepathyGLib.Connection and TelepathyGLib.Contact instances can be shared between modules.

New in version 0.11.5.

Deprecated since version ???: New code should use TelepathyGLib.SimpleApprover.new_with_am() instead.

classmethod new_with_am(account_manager, name, uniquify, callback, *user_data)
Parameters:
Returns:

a new TelepathyGLib.SimpleApprover

Return type:

TelepathyGLib.SimpleApprover

Convenient function to create a new TelepathyGLib.SimpleApprover instance with a specified TelepathyGLib.AccountManager.

It is not necessary to prepare any features on account_manager before calling this function.

New in version 0.11.14.

classmethod new_with_factory(factory, name, uniquify, callback, *user_data)
Parameters:
Returns:

a new TelepathyGLib.SimpleApprover

Return type:

TelepathyGLib.SimpleApprover

Convenient function to create a new TelepathyGLib.SimpleApprover instance with a specified TelepathyGLib.SimpleClientFactory.

New in version 0.15.5.

Property Details

TelepathyGLib.SimpleApprover.props.callback
Name:

callback

Type:

int

Default Value:

None

Flags:

WRITABLE, CONSTRUCT_ONLY

The TelepathyGLib.SimpleApproverAddDispatchOperationImpl callback implementing the AddDispatchOperation D-Bus method.

This property can’t be None.

New in version 0.11.5.

TelepathyGLib.SimpleApprover.props.destroy
Name:

destroy

Type:

int

Default Value:

None

Flags:

WRITABLE, CONSTRUCT_ONLY

The GLib.DestroyNotify function called to free TelepathyGLib.SimpleApprover :user-data when the TelepathyGLib.SimpleApprover is destroyed.

New in version 0.11.5.

TelepathyGLib.SimpleApprover.props.user_data
Name:

user-data

Type:

int

Default Value:

None

Flags:

WRITABLE, CONSTRUCT_ONLY

The user-data pointer passed to TelepathyGLib.SimpleApprover :callback.

New in version 0.11.5.