Beispiel #1
0
    def on_btnGrabKey_clicked(self, *a):
        """
		Called when user clicks on 'Grab a Key' button.
		Displays additional dialog.
		"""
        kg = KeyGrabber(self.app)
        kg.grab(self.editor.window, self.editor._action, self.on_key_grabbed)
Beispiel #2
0
	def on_btnGrabKey_clicked(self, *a):
		"""
		Called when user clicks on 'Grab a Key' button.
		Displays additional dialog.
		"""
		kg = KeyGrabber(self.app)
		kg.grab(self.editor.window, self.editor._action, self.on_key_grabbed)
Beispiel #3
0
	def on_btnGrabAnother_clicked(self, *a):
		"""
		Same as above, but adds another key to action
		"""
		kg = KeyGrabber(self.app)
		kg.grab(self.editor.window, self.editor._action,
				self.on_additional_key_grabbed)
Beispiel #4
0
    def on_btnGrabAnother_clicked(self, *a):
        """
		Same as above, but adds another key to action
		"""
        kg = KeyGrabber(self.app)
        kg.grab(self.editor.window, self.editor._action,
                self.on_additional_key_grabbed)