TelepathyGLib.AddDispatchOperationContext¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r/w/co |
The |
||
r/w/co |
The TpChannels that have been passed to AddDispatchOperation |
||
r/w/co |
The |
||
r/w/co |
The |
Signals¶
- Inherited:
Fields¶
- Inherited:
Class Details¶
- class TelepathyGLib.AddDispatchOperationContext(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
Data structure representing the context of a Approver.AddDispatchOperation() call.
New in version 0.11.5.
- accept()¶
Called by
TelepathyGLib.BaseClientClassAddDispatchOperationImpl
when it’s done so the D-Bus method can return.New in version 0.11.5.
- delay()¶
Called by
TelepathyGLib.BaseClientClassAddDispatchOperationImpl
to indicate that it implements the method in an async way. The caller must take a reference to theTelepathyGLib.AddDispatchOperationContext
before calling this function, and is responsible for calling eitherTelepathyGLib.AddDispatchOperationContext.accept
() orTelepathyGLib.AddDispatchOperationContext.fail
() later.New in version 0.11.5.
- fail(error)¶
- Parameters:
error (
GLib.Error
) – the error to return from the method
Called by
TelepathyGLib.BaseClientClassAddDispatchOperationImpl
to raise a D-Bus error.New in version 0.11.5.
Property Details¶
- TelepathyGLib.AddDispatchOperationContext.props.account¶
- Name:
account
- Type:
- Default Value:
- Flags:
A
TelepathyGLib.Account
object representing the Account of the DispatchOperation that has been passed to AddDispatchOperation. Read-only except during construction.This property can’t be
None
.New in version 0.11.5.
- TelepathyGLib.AddDispatchOperationContext.props.channels¶
- Name:
channels
- Type:
- Default Value:
- Flags:
A
GLib.PtrArray
containingTelepathyGLib.Channel
objects representing the channels that have been passed to AddDispatchOperation. Read-only except during construction.This property can’t be
None
.New in version 0.11.5.
- TelepathyGLib.AddDispatchOperationContext.props.connection¶
- Name:
connection
- Type:
- Default Value:
- Flags:
A
TelepathyGLib.Connection
object representing the Connection of the DispatchOperation that has been passed to AddDispatchOperation. Read-only except during construction.This property can’t be
None
.New in version 0.11.5.
- TelepathyGLib.AddDispatchOperationContext.props.dispatch_operation¶
- Name:
dispatch-operation
- Type:
- Default Value:
- Flags:
A
TelepathyGLib.ChannelDispatchOperation
object representing the ChannelDispatchOperation that has been passed to AddDispatchOperation. Read-only except during construction.This property can’t be
None
.New in version 0.11.5.