Files
Mouse_Keyboard/src/core/signals_mixin.py

19 lines
473 B
Python
Raw Normal View History

2022-08-27 03:50:01 -05:00
# Python imports
# Lib imports
from gi.repository import GObject
# Application imports
from .widgets.key import Key
class SignalsMixin:
"""docstring for SignalsMixin."""
def setup_custom_event_signals(self):
GObject.signal_new('toggle-caps', Key, GObject.SIGNAL_RUN_LAST, GObject.TYPE_PYOBJECT, (GObject.TYPE_PYOBJECT,))
2022-08-27 23:24:12 -05:00
GObject.signal_new('toggle-symbol-keys', Key, GObject.SIGNAL_RUN_LAST, GObject.TYPE_PYOBJECT, (GObject.TYPE_PYOBJECT,))