Mouse_Keyboard/src/core/columns/left_column.py

29 lines
566 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
2022-09-17 00:36:55 +00:00
from ..widgets.defined_keys import Esc_Key, Symbols_Key, CAPS_Key
2022-08-28 23:47:15 +00:00
class Left_Column(Gtk.Box):
"""docstring for Left_Column."""
def __init__(self):
super(Left_Column, self).__init__()
self.setup_styling()
2022-09-17 00:36:55 +00:00
for key in [Symbols_Key(), Esc_Key(), CAPS_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