예제 #1
0
 def __init__(self, *args, **kw):
     self._widget = None
     self._widget_args = (args, kw)
     if kw.get('create_widget', True):
         self.CreateWidget()
     
     BaseFigure.__init__(self)
예제 #2
0
    def __init__(self, *args, **kw):
        self._widget = None
        self._widget_args = (args, kw)
        if kw.get('create_widget', True):
            self.CreateWidget()

        BaseFigure.__init__(self)
예제 #3
0
    def __init__(self, *args, **kw):
        # Make sure there is a native app and the timer is started
        # (also when embedded)
        app.Create()

        # Create gl widget
        self._widget = GlCanvas(self, *args, **kw)
        BaseFigure.__init__(self)
예제 #4
0
 def __init__(self, *args, **kw):
     # Make sure there is a native app and the timer is started 
     # (also when embedded)
     app.Create()
     
     # Create gl widget
     self._widget = GlCanvas(self, *args, **kw)
     BaseFigure.__init__(self)
예제 #5
0
    def __init__(self, parent, *args, **kwargs):

        self._widget = None
        self._widget_args = (parent, args, kwargs)
        if kwargs.get("create_widget", True):
            self.CreateWidget()

        # call original init AFTER we created the widget
        BaseFigure.__init__(self)
예제 #6
0
    def __init__(self, *args, **kwargs):

        self._widget = None
        self._widget_args = (args, kwargs)
        if kwargs.get('create_widget', True):
            self.CreateWidget()

        # call original init AFTER we created the widget
        BaseFigure.__init__(self)
예제 #7
0
 def __init__(self, parent, *args, **kwargs):
     
     # keep same documentation
     self.__doc__ = BaseFigure.__doc__
     self._widget = None
     self._widget_args = (parent, args, kwargs)
     if kwargs.get('create_widget', True):
         self.CreateWidget()
     
     # call original init AFTER we created the widget
     BaseFigure.__init__(self)
예제 #8
0
    def __init__(self, parent, *args, **kwargs):

        # keep same documentation
        self.__doc__ = BaseFigure.__doc__
        self._widget = None
        self._widget_args = (parent, args, kwargs)
        if kwargs.get('create_widget', True):
            self.CreateWidget()

        # call original init AFTER we created the widget
        BaseFigure.__init__(self)
예제 #9
0
    def __init__(self, parent, *args, **kwargs):

        # Make sure there is a native app and the timer is started
        # (also when embedded)
        app.Create()

        # create widget
        self._widget = GLWidget(self, parent, *args, **kwargs)

        # call original init AFTER we created the widget
        BaseFigure.__init__(self)
예제 #10
0
 def __init__(self, parent, *args, **kwargs):
     
     # Make sure there is a native app and the timer is started 
     # (also when embedded)
     app.Create()
     
     # create widget
     self._widget = GLWidget(self, parent, *args, **kwargs)
     
     # call original init AFTER we created the widget
     BaseFigure.__init__(self)