Logo Search packages:      
Sourcecode: jokosher version File versions  Download package

def TimeLine::TimeLine::__init__ (   self,
  project,
  timelinebar,
  mainview 
)

project - reference to the active project

Definition at line 18 of file TimeLine.py.

00018                                                         :
            """ project - reference to the active project
            """
            
            gtk.DrawingArea.__init__(self)
      
            self.project = project
            self.timelinebar = timelinebar
            self.mainview = mainview
            self.project.transport.AddListener(self)
            self.project.AddListener(self)
            self.height = 44
            self.buttonDown = False
            self.dragging = False
      
            self.set_events(gtk.gdk.POINTER_MOTION_MASK |
                                                gtk.gdk.BUTTON_PRESS_MASK |
                                                gtk.gdk.BUTTON_RELEASE_MASK)
            self.connect("expose-event", self.OnDraw)
            self.connect("button_release_event", self.onMouseUp)
            self.connect("button_press_event", self.onMouseDown)
            self.connect("motion_notify_event", self.onMouseMove)
            self.connect("size_allocate", self.OnAllocate)
            self.savedLine = None
      #_____________________________________________________________________

      def OnAllocate(self, widget, allocation):


Generated by  Doxygen 1.6.0   Back to index