Exemplo n.º 1
0
 def __init__(self, tabBar, name, **kw):
     optiondefs = (('modelName', 'general_frame_d', None),
                   ('borderScale', 0.38, None), ('bgBuffer', 0.15, None))
     self.defineoptions(kw, optiondefs)
     LeftTab.__init__(self, tabBar, name, **kw)
     self.initialiseoptions(StoreTab)
     return None
Exemplo n.º 2
0
 def __init__(self, tabBar, name, **kw):
     optiondefs = (
      ('modelName', 'general_frame_d', None), ('borderScale', 0.38, None), ('bgBuffer', 0.15, None), ('frameSize', (-0.125, 0.125, -0.1, 0.1), None), ('unfocusSize', (0, 0, 0, 0), None), ('focusSize', (-0.125, 0.125, -0.11, 0.11), None), ('heightFactor', 0.6, None), ('mouseEntered', None, None), ('mouseLeft', None, None))
     self.defineoptions(kw, optiondefs)
     LeftTab.__init__(self, tabBar, name, **kw)
     self.initialiseoptions(ChestTab)
     self['unfocusSize'] = self['frameSize']
     return
 def __init__(self, tabBar, name, **kw):
     optiondefs = (('modelName', 'general_frame_d', None), ('borderScale', 0.38, None), ('bgBuffer', 0.14999999999999999, None))
     self.defineoptions(kw, optiondefs)
     LeftTab.__init__(self, tabBar, name)
     self.initialiseoptions(BarberStoreTab)
 def __init__(self, tabBar, name, **kw):
     optiondefs = (('modelName', 'general_frame_d', None), ('borderScale', 0.38, None), ('bgBuffer', 0.14999999999999999, None), ('frameSize', (-0.125, 0.125, -0.10000000000000001, 0.10000000000000001), None), ('unfocusSize', (0, 0, 0, 0), None), ('focusSize', (-0.125, 0.125, -0.11, 0.11), None), ('heightFactor', 0.59999999999999998, None), ('mouseEntered', None, None), ('mouseLeft', None, None))
     self.defineoptions(kw, optiondefs)
     LeftTab.__init__(self, tabBar, name)
     self.initialiseoptions(ChestTab)
     self['unfocusSize'] = self['frameSize']