Restructured searcher layout

This commit is contained in:
2022-10-03 22:14:18 -05:00
parent 867c651a04
commit 982e586936
10 changed files with 249 additions and 144 deletions

View File

@@ -0,0 +1,16 @@
# Python imports
# Gtk imports
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
# Application imports
class FilePreviewWidget(Gtk.LinkButton):
def __init__(self, path, file):
super(FilePreviewWidget, self).__init__()
self.set_label(file)
self.set_uri(f"file://{path}")
self.show_all()