Mouse_Keyboard/src/core/columns/right_column.py

30 lines
648 B
Python
Raw Normal View History

2022-08-28 23:47:15 +00:00
# Python imports
# Lib imports
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
# Application imports
2023-03-03 04:03:53 +00:00
from ..widgets.defined_keys import Emoji_Keys
from ..widgets.defined_keys import Backspace_Key
from ..widgets.defined_keys import Enter_Key
2022-08-28 23:47:15 +00:00
class Right_Column(Gtk.Box):
"""docstring for Right_Column."""
def __init__(self):
super(Right_Column, self).__init__()
self.setup_styling()
2022-09-17 01:53:04 +00:00
for key in [Emoji_Keys(), Backspace_Key(), Enter_Key()]:
2022-08-28 23:47:15 +00:00
self.add(key)
self.show_all()
def setup_styling(self):
self.set_orientation(1) # HORIZONTAL = 0, VERTICAL = 1