def __init__(self): Base.__init__(self) self.frame = None self.slot = 0 self.width = 0 self.height = 0 self.dockables = []
def __init__(self, title): Base.__init__(self) self.resize(100, 100) self.menuTitle = title self.width = self.minWidth self.items = [] self.active = None self.subActive = None self.setShow(0)
def __init__(self, title): Base.__init__(self) self.menuTitle = " " + title self.width = getRenderer().getTextSize(title)[0] + 12 self.height = self.minHeight self.items = [] self.active = None self.subActive = None self.setShow(0)
def __init__(self, title): Base.__init__(self) self.menuTitle = " " + title self.width = getRenderer().getTextSize(title)[0]+12 self.height = self.minHeight self.items = [] self.active = None self.subActive = None self.setShow(0)
def __init__(self): Base.__init__(self) self.height = 20 self.setShow(1) self.menus = [] self.menuWidth = 0 self.active = None self.highlight = None self.registerEvent(pyui.locals.LMOUSEBUTTONDOWN, self._pyuiMouseDown) self.registerEvent(pyui.locals.LMOUSEBUTTONUP, self._pyuiMouseUp) self.registerEvent(pyui.locals.MOUSEMOVE, self._pyuiMouseMotion) self.registerEvent(pyui.locals.MENU_EXIT, self._pyuiMenuExit)
def __init__(self, minWidth, minHeight): Base.__init__(self) self.frame = None self.minWidth = minWidth self.minHeight = minHeight self.resize(minWidth, minHeight)