Customizing the Add-In Behavior

 
 
 

Your add-in may control its behavior by implementing any or all of the following methods, from UserCustomization.UserCustomBase. Some code from BackgroundCustom.py is provided to illustrate sample implementations of these methods.

from UserCustomization import UserCustomBase

class BackgroundCustom(UserCustomBase):
  def __init__(self):
    self.__myCallMenu = None
    self.__myCallIdBlack = None
    self.__myCallIdWhite = None
    self.__myCallIdDef = None
    self.__myCall800x600 = None
    self.__myInterpreter = LocalInterpreter()
    # ...