Thread Rating:
  • 0 Vote(s) - 0 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Availability of GTk3 Python bindings in Windows & OSX
#1
Can anyone try this and report? In the Gimp 3.00 python console, enter:

Code:
import gi

gi.require_version("Gtk", "3.0")
from gi.repository import Gtk
win = Gtk.Window()
win.connect("destroy", Gtk.main_quit)
win.show_all()
Gtk.main()

This should start a small empty Window. Closing the Window will then also close the Python console.

Please report success or state error messages.

Thanks.
Reply


Messages In This Thread
Availability of GTk3 Python bindings in Windows & OSX - by Ofnuts - 03-31-2025, 09:03 PM

Forum Jump: