def __init__(self, commandSequencer):
     # I don't know why this method is needed. ##### REVIEW (super semantics), FIX or clean up
     # (note: that comment predates commandSequencer != glpane; after that, it's needed
     #  due to different init args)
     glpane = commandSequencer.assy.glpane
     super(test_connectWithState, self).__init__(glpane) # State_preMixin.__init__
     ExampleCommand.__init__(self, commandSequencer) # (especially this part)
     return
Пример #2
0
 def __init__(self, commandSequencer):
     # I don't know why this method is needed. ##### REVIEW (super semantics), FIX or clean up
     # (note: that comment predates commandSequencer != glpane; after that, it's needed
     #  due to different init args)
     glpane = commandSequencer.assy.glpane
     super(test_connectWithState,
           self).__init__(glpane)  # State_preMixin.__init__
     ExampleCommand.__init__(self,
                             commandSequencer)  # (especially this part)
     return
Пример #3
0
 def __init__(self, glpane):
     # I don't know why this method is needed. ##### REVIEW (super semantics), FIX or clean up
     super(test_connectWithState, self).__init__(glpane) # State_preMixin.__init__
     ExampleCommand.__init__(self, glpane) # (especially this part)
     return
Пример #4
0
 def __init__(self, glpane):
     # not sure why this method is needed, see comment in test_connectWithState.__init__
     super(test_polyline_drag, self).__init__(glpane)
     ExampleCommand.__init__(self, glpane)
     return