Esempio n. 1
0
 def __init__(self):
     Base.__init__(self)
     self.frame = None
     self.slot = 0
     self.width = 0
     self.height = 0
     self.dockables = []
Esempio n. 2
0
 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)
Esempio n. 3
0
File: frame.py Progetto: colshag/ANW
    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)
Esempio n. 4
0
File: frame.py Progetto: burito/PyUI
 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)
Esempio n. 5
0
File: frame.py Progetto: colshag/ANW
 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)
Esempio n. 6
0
File: frame.py Progetto: burito/PyUI
 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)
Esempio n. 7
0
 def __init__(self, minWidth, minHeight):
     Base.__init__(self)
     self.frame = None
     self.minWidth = minWidth
     self.minHeight = minHeight
     self.resize(minWidth, minHeight)