Class
PurpleConnection
since: 2.0
Description [src]
class Purple.Connection : GObject.Object
{
/* No available fields */
}
Represents an active connection on an account.
Available since: 2.0
Instance methods
purple_connection_get_cancellable
Gets the cancellable that should be used with connection.
unstable since: 3.0
purple_connection_implements_set_display_name
Checks whether or not the connection supports setting a display name.
unstable since: 3.0
purple_connection_set_display_name_async
Ask the connection to set the display name.
unstable since: 3.0
purple_connection_set_display_name_finish
Finishes a previous call to purple_connection_set_display_name_async().
unstable since: 3.0
purple_connection_set_presence
Tells the connection to adjust its presence using the given saved presence.
unstable since: 3.0
Signals
Signals inherited from GObject (1)
GObject::notify
The notify signal is emitted on an object when one of its properties has its value set through g_object_set_property(), g_object_set(), et al.
Class structure
struct PurpleConnectionClass {
gboolean (* connect) (
PurpleConnection* connection,
GError** error
);
gboolean (* disconnect) (
PurpleConnection* connection,
const char* message,
GError** error
);
void (* set_presence) (
PurpleConnection* connection,
PurpleSavedPresence* presence
);
BirbActionMenu* (* get_action_menu) (
PurpleConnection* connection
);
void (* set_display_name_async) (
PurpleConnection* connection,
const char* display_name,
GCancellable* cancellable,
GAsyncReadyCallback callback,
gpointer data
);
gboolean (* set_display_name_finish) (
PurpleConnection* connection,
GAsyncResult* result,
GError** error
);
}
No description available.
Class members
connect: gboolean (* connect) ( PurpleConnection* connection, GError** error )No description available.
disconnect: gboolean (* disconnect) ( PurpleConnection* connection, const char* message, GError** error )No description available.
set_presence: void (* set_presence) ( PurpleConnection* connection, PurpleSavedPresence* presence )No description available.
get_action_menu: BirbActionMenu* (* get_action_menu) ( PurpleConnection* connection )No description available.
set_display_name_async: void (* set_display_name_async) ( PurpleConnection* connection, const char* display_name, GCancellable* cancellable, GAsyncReadyCallback callback, gpointer data )No description available.
set_display_name_finish: gboolean (* set_display_name_finish) ( PurpleConnection* connection, GAsyncResult* result, GError** error )No description available.
Virtual methods
Purple.ConnectionClass.set_display_name_async
Ask the connection to set the display name.
unstable since: 3.0
Purple.ConnectionClass.set_display_name_finish
Finishes a previous call to purple_connection_set_display_name_async().
unstable since: 3.0
Purple.ConnectionClass.set_presence
Tells the connection to adjust its presence using the given saved presence.
unstable since: 3.0