Completed rewrite
This commit is contained in:
18
src/core/signals_mixin.py
Normal file
18
src/core/signals_mixin.py
Normal 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,))
|
||||
Reference in New Issue
Block a user