def __init__(self, title, menu=None): SCElement.__init__(self) self.title = title scGui = loader.loadModel(SCMenu.GuiModelName) self.scArrow = scGui.find('**/chatArrow') self.menu = None self.setMenu(menu)
def __init__(self, linkedEmote=None): SCElement.__init__(self) self.setLinkedEmote(linkedEmote) scGui = loader.loadModel(SCMenu.GuiModelName) self.emotionIcon = scGui.find('**/emotionIcon') self.setDisabled(False) self.__numCharges = -1 self._handleWhisperModeSV = StateVar(False) self._handleWhisperModeFC = None