TOXYGEN
 All Classes Functions
Public Member Functions | List of all members
toxygen.plugin_support.PluginLoader Class Reference
Inheritance diagram for toxygen.plugin_support.PluginLoader:
toxygen.util.Singleton

Public Member Functions

def __init__
 
def set_tox
 
def load
 
def callback_lossless
 
def callback_lossy
 
def friend_online
 
def get_plugins_list
 
def plugin_window
 
def toggle_plugin
 
def command
 
def get_menu
 
def get_message_menu
 
def stop
 
- Public Member Functions inherited from toxygen.util.Singleton
def __init__
 
def get_instance
 

Member Function Documentation

def toxygen.plugin_support.PluginLoader.callback_lossless (   self,
  friend_number,
  data,
  length 
)
New incoming custom lossless packet (callback)
def toxygen.plugin_support.PluginLoader.callback_lossy (   self,
  friend_number,
  data,
  length 
)
New incoming custom lossy packet (callback)
def toxygen.plugin_support.PluginLoader.command (   self,
  text 
)
New command for plugin
def toxygen.plugin_support.PluginLoader.friend_online (   self,
  friend_number 
)
Friend with specified number is online
def toxygen.plugin_support.PluginLoader.get_menu (   self,
  menu,
  num 
)
Return list of items for menu
def toxygen.plugin_support.PluginLoader.get_plugins_list (   self)
Returns list of all plugins
def toxygen.plugin_support.PluginLoader.load (   self)
Load all plugins in plugins folder
def toxygen.plugin_support.PluginLoader.plugin_window (   self,
  key 
)
Return window or None for specified plugin
def toxygen.plugin_support.PluginLoader.set_tox (   self,
  tox 
)
New tox instance
def toxygen.plugin_support.PluginLoader.stop (   self)
App is closing, stop all plugins
def toxygen.plugin_support.PluginLoader.toggle_plugin (   self,
  key 
)
Enable/disable plugin
:param key: plugin short name

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