sugar3.presence.buddy module¶
UI interface to a buddy in the presence service
STABLE.
-
class
sugar3.presence.buddy.
BaseBuddy
¶ Bases:
gi.overrides.GObject.Object
UI interface for a Buddy in the presence service
Each buddy interface tracks a set of activities and properties that can be queried to provide UI controls for manipulating the presence interface.
- Properties Dictionary:
- ‘key’: public key, ‘nick’: nickname , ‘color’: color (XXX what format), ‘current-activity’: (XXX dbus path?), ‘owner’: (XXX dbus path?),
-
color
¶
-
current_activity
¶
-
do_get_property
(pspec)¶
-
do_set_property
(pspec, value)¶
-
get_color
()¶
-
get_current_activity
()¶
-
get_ip4_address
()¶
-
get_key
()¶
-
get_nick
()¶
-
get_owner
()¶
-
ip4_address
¶
-
key
¶
-
nick
¶
-
object_path
()¶ Retrieve our dbus object path
-
owner
¶
-
set_color
(color)¶
-
set_ip4_address
(ip4_address)¶
-
set_key
(key)¶
-
set_nick
(nick)¶
-
set_owner
(owner)¶
-
class
sugar3.presence.buddy.
Buddy
(account_path, contact_id)¶ Bases:
sugar3.presence.buddy.BaseBuddy
-
do_get_property
(pspec)¶
-
-
class
sugar3.presence.buddy.
Owner
¶