develop #2

Merged
itdominator merged 27 commits from develop into master 2025-11-30 05:25:35 +00:00
42 changed files with 281 additions and 213 deletions
Showing only changes of commit 48bac7e791 - Show all commits

View File

@@ -3,6 +3,7 @@ A template project for Python with Gtk applications.
### Requirements
* PyGObject (Gtk introspection library)
* pygobject-stubs (For actually getting pylsp or python-language-server to auto complete in LSPs. Do if GTK3 --no-cache-dir --config-settings=config=Gtk3,Gdk3,Soup2)
* pyxdg (Desktop ".desktop" file parser)
* setproctitle (Define process title to search and kill more easily)
* sqlmodel (SQL databases and is powered by Pydantic and SQLAlchemy)

View File

@@ -1,4 +1,5 @@
PyGObject
pygobject-stubs
pyxdg
setproctitle
sqlmodel
sqlmodel

View File

@@ -90,7 +90,7 @@ class Window(Gtk.ApplicationWindow):
if visual and screen.is_composited() and settings.config.make_transparent == 0:
self.set_visual(visual)
self.set_app_paintable(True)
self.connect("draw", self._area_draw)
# self.connect("draw", self._area_draw)
# bind css file
cssProvider = Gtk.CssProvider()
@@ -132,4 +132,4 @@ class Window(Gtk.ApplicationWindow):
Gtk.main_quit()
def main(self):
Gtk.main()
Gtk.main()

View File

@@ -37,6 +37,14 @@ def debug_signal_handler(signal, frame):
except Exception as ex:
...
try:
import ipdb
logger.debug("\n\nStarting IPDB debugger...\n\n")
ipdb.set_trace()
return
except Exception as ex:
...
try:
import pdb
logger.debug("\n\nStarting embedded PDB debugger...\n\n")