def initBindings(self): bind(self.group, self._calcMouseBind("<{mouse_button1}>"), self._Stack__clickEventHandler) bind( self.group, self._calcMouseBind("<Control-{mouse_button1}>"), self._Stack__controlclickEventHandler, )
def initBindings(self): group = self.group # FIXME: dirty hack to access the Stack's private methods #bind(group, "<1>", self._Stack__clickEventHandler) #bind(group, "<3>", self._Stack__controlclickEventHandler) #bind(group, "<Control-1>", self._Stack__controlclickEventHandler) # bind(group, "<1>", self.__clickEventHandler) bind(group, "<3>", self.__controlclickEventHandler) bind(group, "<Control-1>", self.__controlclickEventHandler)
def initBindings(self): group = self.group # FIXME: dirty hack to access the Stack's private methods # bind(group, "<1>", self._Stack__clickEventHandler) # bind(group, "<3>", self._Stack__controlclickEventHandler) # bind(group, "<Control-1>", self._Stack__controlclickEventHandler) # bind(group, "<1>", self.__clickEventHandler) bind(group, "<3>", self.__controlclickEventHandler) bind(group, "<Control-1>", self.__controlclickEventHandler)
def initBindings(self): group = self.group # FIXME: dirty hack to access the Stack's private methods # bind(group, "<1>", self._Stack__clickEventHandler) # bind(group, "<3>", self._Stack__controlclickEventHandler) # bind(group, "<Control-1>", self._Stack__controlclickEventHandler) # bind(group, self._calcMouseBind("<{mouse_button1}>"), self.__clickEventHandler) bind(group, self._calcMouseBind("<{mouse_button3}>"), self.__controlclickEventHandler) bind(group, self._calcMouseBind("<Control-{mouse_button1}>"), self.__controlclickEventHandler)
def initBindings(self): bind(self.group, "<1>", self._Stack__clickEventHandler) bind(self.group, "<Control-1>", self._Stack__controlclickEventHandler)
def initBindings(self): w = self.parent bind(w, "WM_DELETE_WINDOW", self.destroy) bind(w, "<Escape>", self.destroy) bind(w, "<KeyPress-Prior>", self.page_up) bind(w, "<KeyPress-Next>", self.page_down) bind(w, "<KeyPress-Up>", self.unit_up) bind(w, "<KeyPress-Down>", self.unit_down) bind(w, "<KeyPress-Begin>", self.scroll_top) bind(w, "<KeyPress-Home>", self.scroll_top) bind(w, "<KeyPress-End>", self.scroll_bottom) bind(w, "<KeyPress-BackSpace>", self.goBack)