def onHeadlineRightClick (self,event,p): c = self.c try: g.doHook("headrclick1",c=c,p=p,v=p,event=event) g.doHook("headrclick2",c=c,p=p,v=p,event=event) except: g.es_event_exception("headrclick")
def onDoubleClickHeadline (self,event,p): c = self.c try: if not g.doHook("headdclick1",c=c,p=p,v=p,event=event): self.editLabel(p,selectAll=True,selection=None) g.doHook("headdclick2",c=c,p=p,v=p,event=event) except: g.es_event_exception("headdclick")