TelepathyGLib.DebugClient¶
- Subclasses:
None
Methods¶
- Inherited:
- Structs:
class |
|
class |
|
class |
|
|
|
|
|
|
|
|
|
|
Virtual Methods¶
- Inherited:
Properties¶
- Inherited:
Name |
Type |
Flags |
Short Description |
---|---|---|---|
r |
Enabled |
Signals¶
- Inherited:
Name |
Short Description |
---|---|
Emitted when a |
Fields¶
- Inherited:
Class Details¶
- class TelepathyGLib.DebugClient(**kwargs)¶
- Bases:
- Abstract:
No
- Structure:
A proxy object for the debug interface of a Telepathy component.
New in version 0.19.0.
- classmethod init_known_interfaces()¶
Ensure that the known interfaces for
TelepathyGLib.DebugClient
have been set up. This is done automatically when necessary, but for correct overriding of library interfaces by local extensions, you should call this function before calling tp_proxy_or_subclass_hook_on_interface_add() with first argument %TP_TYPE_DEBUG_CLIENT.New in version 0.19.0.
- classmethod new(dbus, unique_name)¶
- Parameters:
dbus (
TelepathyGLib.DBusDaemon
) – a D-Bus daemon; may not beNone
unique_name (
str
) – the unique name of the process to be debugged; may not beNone
or a well-known name
- Raises:
- Returns:
a new debug client proxy, or
None
on invalid arguments- Return type:
New in version 0.19.0.
- get_messages_async(callback, *user_data)¶
- Parameters:
callback (
Gio.AsyncReadyCallback
orNone
) – callback to call when the messages have been retrieved
Retrieve buffered messages from self. Once callback is called, use
TelepathyGLib.DebugClient.get_messages_finish
() to retrieve theTelepathyGLib.DebugMessage
objects.New in version 0.19.0.
- get_messages_finish(result)¶
- Parameters:
result (
Gio.AsyncResult
) – aGio.AsyncResult
- Raises:
- Returns:
a
GLib.PtrArray
ofTelepathyGLib.DebugMessage
, free with g_ptr_array_unref()- Return type:
Finishes
TelepathyGLib.DebugClient.set_enabled_async
().New in version 0.19.0.
- is_enabled()¶
- Returns:
the value of
TelepathyGLib.DebugClient
:enabled
property- Return type:
Return the
TelepathyGLib.DebugClient
:enabled
propertyNew in version 0.19.0.
- set_enabled_async(enabled, callback, *user_data)¶
- Parameters:
Enable or disable publishing of debug messages on the bus by the component owning self's bus name.
New in version 0.19.0.
- set_enabled_finish(result)¶
- Parameters:
result (
Gio.AsyncResult
) – aGio.AsyncResult
- Raises:
- Returns:
- Return type:
Finishes
TelepathyGLib.DebugClient.set_enabled_async
().New in version 0.19.0.
Signal Details¶
- TelepathyGLib.DebugClient.signals.new_debug_message(debug_client, message)¶
- Signal Name:
new-debug-message
- Flags:
- Parameters:
debug_client (
TelepathyGLib.DebugClient
) – The object which received the signalmessage (
TelepathyGLib.DebugMessage
) – aTelepathyGLib.DebugMessage
Emitted when a
TelepathyGLib.DebugMessage
is generated if theTelepathyGLib.DebugMessage
:enabled
property is set toTrue
.New in version 0.19.0.