Completed rewrite

This commit is contained in:
2022-08-28 18:47:15 -05:00
parent 0c19f61d88
commit c7550c62ec
41 changed files with 567 additions and 1211 deletions

18
src/core/signals_mixin.py Normal file
View File

@@ -0,0 +1,18 @@
# 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,))
GObject.signal_new('toggle-symbol-keys', Key, GObject.SIGNAL_RUN_LAST, GObject.TYPE_PYOBJECT, (GObject.TYPE_PYOBJECT,))