TOXYGEN
 All Classes Functions
Public Member Functions | Properties | List of all members
toxygen.contact.Contact Class Reference
Inheritance diagram for toxygen.contact.Contact:
toxygen.friend.Friend toxygen.profile.Profile

Public Member Functions

def __init__
 
def get_name
 
def set_name
 
def get_status_message
 
def set_status_message
 
def get_status
 
def set_status
 
def get_tox_id
 
def load_avatar
 
def reset_avatar
 
def set_avatar
 
def get_pixmap
 

Properties

 name = property(get_name, set_name)
 
 status_message = property(get_status_message, set_status_message)
 
 status = property(get_status, set_status)
 
 tox_id = property(get_tox_id)
 

Detailed Description

Class encapsulating TOX contact
Properties: name (alias of contact or name), status_message, status (connection status)
widget - widget for update

Constructor & Destructor Documentation

def toxygen.contact.Contact.__init__ (   self,
  name,
  status_message,
  widget,
  tox_id 
)
:param name: name, example: 'Toxygen user'
:param status_message: status message, example: 'Toxing on Toxygen'
:param widget: ContactItem instance
:param tox_id: tox id of contact

Member Function Documentation

def toxygen.contact.Contact.load_avatar (   self)
Tries to load avatar of contact or uses default avatar

The documentation for this class was generated from the following file: