tryToxic
 All Classes Functions
toxUiHandler.toxUiHandler Class Reference

Public Member Functions

def __init__
 
def onDeleteFriendHistory
 
def onDeleteFriend
 
def onClickToxGroup
 
def onClickToxUser
 
def onIncomingFriendFile
 
def onSendFile
 
def onContextGroupInviteClick
 
def onCreateGroupchat
 
def onConnectToDHT
 
def onDisconnectToDHT
 
def onIncomingNameChange
 
def onIncomingStatusMessageChange
 
def onIncomingOnlineStatus
 
def onIncomingStatusChange
 
def onIncomingGroupMessage
 
def onIncomingGroupInvite
 
def onIncomingFriendMessage
 
def onIncomingFriendRequest
 
def onChangeOwnStatus
 
def onNewFriendRequest
 
def onSaveToxUsername
 
def onChangeStatusMessage
 
def onSendToxMessage
 
def colorchanger
 
def generateKey
 
def generateDnsId
 
def updateToxUsersGuiList
 
def updateToxGroupsGuiList
 

Public Attributes

 ui
 
 tryToxic
 
 msgBox
 
 lastMessageName
 
 lastMessageColor
 
 currentToxUser
 
 toxMessagesHandler
 
 toxThread
 
 groupNrs
 
 groupMenu
 
 addToGroupchat
 
 statusMessage
 

Detailed Description

Definition at line 4 of file toxUiHandler.py.

Member Function Documentation

def toxUiHandler.toxUiHandler.colorchanger (   self,
  id 
)
Try to change color for chats
return (r,g,b)

Definition at line 504 of file toxUiHandler.py.

def toxUiHandler.toxUiHandler.generateDnsId (   self,
  key 
)
Temporary method to generate dns and pin out of lookupkey

Definition at line 547 of file toxUiHandler.py.

def toxUiHandler.toxUiHandler.generateKey (   self,
  dns,
  pin 
)
Temporary method to generate lookupkey out of dns and pin

Definition at line 531 of file toxUiHandler.py.

def toxUiHandler.toxUiHandler.onClickToxGroup (   self,
  item = None 
)
When you click a toxGroup. Change gui.

Definition at line 116 of file toxUiHandler.py.

def toxUiHandler.toxUiHandler.onClickToxUser (   self,
  item = None 
)
When you click a toxUser

Definition at line 168 of file toxUiHandler.py.

def toxUiHandler.toxUiHandler.onContextGroupInviteClick (   self,
  obj 
)
This gets active, when you invite a friend to a group-chat.

Definition at line 257 of file toxUiHandler.py.

def toxUiHandler.toxUiHandler.onCreateGroupchat (   self)
When you create a groupchat.

Definition at line 279 of file toxUiHandler.py.

def toxUiHandler.toxUiHandler.onDeleteFriend (   self)
When you want to delete a friend.

Definition at line 93 of file toxUiHandler.py.

def toxUiHandler.toxUiHandler.onDeleteFriendHistory (   self)
In contextmenu, when you delete the messages or a history of a friend

Definition at line 73 of file toxUiHandler.py.

def toxUiHandler.toxUiHandler.onIncomingFriendFile (   self,
  friendId,
  fileId,
  fileSize,
  filename 
)
on incoming friend-toxFile-signal.
This is the request, where user could cancel reciving

Definition at line 214 of file toxUiHandler.py.

def toxUiHandler.toxUiHandler.onSendFile (   self)
When you want to send a file to a user

Definition at line 239 of file toxUiHandler.py.

def toxUiHandler.toxUiHandler.updateToxGroupsGuiList (   self,
  groupList 
)
update grouplist, but just ui

Definition at line 592 of file toxUiHandler.py.


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