2023-04-23 16:47:33 -05:00
|
|
|
# Python imports
|
|
|
|
|
|
|
|
|
|
# Lib imports
|
|
|
|
|
import gi
|
|
|
|
|
gi.require_version('Gtk', '3.0')
|
|
|
|
|
gi.require_version('Gdk', '3.0')
|
|
|
|
|
from gi.repository import Gtk
|
|
|
|
|
from gi.repository import Gdk
|
|
|
|
|
|
|
|
|
|
# Application imports
|
2023-04-29 15:20:36 -05:00
|
|
|
from ..widgets.button_controls import ButtonControls
|
|
|
|
|
from ..widgets.path_label import PathLabel
|
2023-04-23 16:47:33 -05:00
|
|
|
from .image_view_scroll import ImageViewScroll
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
class RightBox(Gtk.Box):
|
|
|
|
|
def __init__(self):
|
|
|
|
|
super(RightBox, self).__init__()
|
|
|
|
|
|
|
|
|
|
self._setup_styling()
|
|
|
|
|
self._setup_signals()
|
|
|
|
|
self._load_widgets()
|
|
|
|
|
|
|
|
|
|
self.show_all()
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
def _setup_styling(self):
|
|
|
|
|
self.set_vexpand(True)
|
|
|
|
|
self.set_hexpand(True)
|
|
|
|
|
self.set_orientation(Gtk.Orientation.VERTICAL)
|
|
|
|
|
|
|
|
|
|
def _setup_signals(self):
|
|
|
|
|
...
|
|
|
|
|
|
|
|
|
|
def _load_widgets(self):
|
2023-04-29 15:20:36 -05:00
|
|
|
self.add(ButtonControls())
|
|
|
|
|
self.add(PathLabel())
|
2023-04-23 16:47:33 -05:00
|
|
|
self.add(ImageViewScroll())
|