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 Esc_Key
|
|
|
|
from ..widgets.defined_keys import Symbols_Key
|
|
|
|
from ..widgets.defined_keys import 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
|