Esempio n. 1
0
	def PutTextOnDisplay(self, text, display, notify_id):
		with uievents.using_startup_notify_id(notify_id) as time:
			self.emit("put-text", text, display, time)
Esempio n. 2
0
	def PutFilesOnDisplay(self, fileuris, display, notify_id):
		# files sent with dbus-send from kupfer have a custom comma
		# escape that we have to unescape here
		fileuris[:] = [f.replace("%%kupfercomma%%", ",") for f in fileuris]
		with uievents.using_startup_notify_id(notify_id) as time:
			self.emit("put-files", fileuris, display, time)
Esempio n. 3
0
	def RelayKeysFromDisplay(self, keystring, display, notify_id):
		with uievents.using_startup_notify_id(notify_id) as time:
			self.emit("relay-keys", keystring, display, time)
Esempio n. 4
0
	def PresentOnDisplay(self, display, notify_id):
		with uievents.using_startup_notify_id(notify_id) as time:
			self.emit("present", display, time)
Esempio n. 5
0
 def PutFilesOnDisplay(self, fileuris, display, notify_id):
     # files sent with dbus-send from kupfer have a custom comma
     # escape that we have to unescape here
     fileuris[:] = [f.replace("%%kupfercomma%%", ",") for f in fileuris]
     with uievents.using_startup_notify_id(notify_id) as time:
         self.emit("put-files", fileuris, display, time)
Esempio n. 6
0
	def ExecuteFileOnDisplay(self, filepath, display, notify_id):
		with uievents.using_startup_notify_id(notify_id) as time:
			self.emit("execute-file", filepath, display, time)
Esempio n. 7
0
 def PutTextOnDisplay(self, text, display, notify_id):
     with uievents.using_startup_notify_id(notify_id) as time:
         self.emit("put-text", text, display, time)
Esempio n. 8
0
 def PresentOnDisplay(self, display, notify_id):
     with uievents.using_startup_notify_id(notify_id) as time:
         self.emit("present", display, time)
Esempio n. 9
0
 def ExecuteFileOnDisplay(self, filepath, display, notify_id):
     with uievents.using_startup_notify_id(notify_id) as time:
         self.emit("execute-file", filepath, display, time)
Esempio n. 10
0
 def ShowHideOnDisplay(self, display, notify_id):
     with uievents.using_startup_notify_id(notify_id) as time:
         self.emit("show-hide", display, time)
Esempio n. 11
0
 def RelayKeysFromDisplay(self, keystring, display, notify_id):
     with uievents.using_startup_notify_id(notify_id) as time:
         self.emit("relay-keys", keystring, display, time)