35 lines
660 B
Python
35 lines
660 B
Python
|
# Python imports
|
||
|
|
||
|
# Lib imports
|
||
|
import gi
|
||
|
gi.require_version('Gtk', '3.0')
|
||
|
from gi.repository import Gtk
|
||
|
|
||
|
# Application imports
|
||
|
|
||
|
|
||
|
|
||
|
class RightContainer(Gtk.Box):
|
||
|
def __init__(self):
|
||
|
super(RightContainer, self).__init__()
|
||
|
|
||
|
self._setup_styling()
|
||
|
self._setup_signals()
|
||
|
self._subscribe_to_events()
|
||
|
self._load_widgets()
|
||
|
|
||
|
|
||
|
def _setup_styling(self):
|
||
|
self.set_orientation(Gtk.Orientation.VERTICAL)
|
||
|
ctx = self.get_style_context()
|
||
|
ctx.add_class("right-container")
|
||
|
|
||
|
def _setup_signals(self):
|
||
|
...
|
||
|
|
||
|
def _subscribe_to_events(self):
|
||
|
...
|
||
|
|
||
|
def _load_widgets(self):
|
||
|
...
|