def __init__(self,world,name="My GL Widget Program"): GLRealtimeProgram.__init__(self,name) self.world = world self.widgetMaster = WidgetSet() self.widgetButton = 2 #right-clicks are sent to widget self.draggingWidget = False self.verbose = 0
def __init__(self, name, value, description, world): self.name = name self.value = value self.description = description self.world = world self.qtwidget = None self.width = 100 self.height = 100 self.klamptwidgetbutton = 2 self.klamptwidgetmaster = WidgetSet() self.klamptwidgetdragging = False
def __init__(self): GLPluginBase.__init__(self) self.klamptwidgetbutton = 2 self.klamptwidgetmaster = WidgetSet() self.klamptwidgetdragging = False