Did I find the right examples for you? yes no

All Samples(2)  |  Call(1)  |  Derive(0)  |  Import(1)

src/u/r/urxvt_tabbed-0.2.0/urxvt_tabbed/urxvt_tabbed.py   urxvt_tabbed(Download)
from .gdk_events import GdkEvents
from .tab_label import ClosableTabLabel
from .config import KeyPress
 
gdk_events = GdkEvents()
	def on_key_press(self, label_entry, event):
		keymap = self.config['keymap']
		event_key = KeyPress(event.state, event.keyval)
		if is_key_pressed(keymap['new_tab'], event_key):
			self.add_terminal()