Skip to content

Commit

Permalink
Add gtk dir.
Browse files Browse the repository at this point in the history
  • Loading branch information
astroDimitrios committed Aug 5, 2024
1 parent cb129de commit d790df9
Show file tree
Hide file tree
Showing 7 changed files with 2,504 additions and 0 deletions.
8 changes: 8 additions & 0 deletions metomi/rose/gtk/__init__.py
Original file line number Diff line number Diff line change
@@ -0,0 +1,8 @@
try:
import gi
gi.require_version('Gtk', '3.0')
from gi.repository import Gtk
except (ImportError, RuntimeError, AssertionError):
INTERACTIVE_ENABLED = False
else:
INTERACTIVE_ENABLED = True
Loading

0 comments on commit d790df9

Please sign in to comment.