Gimp-Forum.net
Availability of GTk3 Python bindings in Windows & OSX - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: Extending the GIMP (https://www.gimp-forum.net/Forum-Extending-the-GIMP)
+--- Thread: Availability of GTk3 Python bindings in Windows & OSX (/Thread-Availability-of-GTk3-Python-bindings-in-Windows-OSX)



Availability of GTk3 Python bindings in Windows & OSX - Ofnuts - 03-31-2025

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.


RE: Availability of GTk3 Python bindings in Windows & OSX - rich2005 - 04-01-2025

kubuntu 24.04 gimp.org Gimp 3.0.2 appimage.

[attachment=13319]

Nothing in the error dock.

-----edit---- A bit behind updating Win10 VM so still Gimp 3.0.0 - no errors (that I can see)

[attachment=13320]


RE: Availability of GTk3 Python bindings in Windows & OSX - Ofnuts - 04-01-2025

(04-01-2025, 07:06 AM)rich2005 Wrote: kubuntu 24.04 gimp.org Gimp 3.0.2 appimage.



Nothing in the error dock.

-----edit---- A bit behind updating Win10 VM so still Gimp 3.0.0 - no errors (that I can see)

Good. That means I can pursue with the addon manager for v3 (needs to have its own windows)


RE: Availability of GTk3 Python bindings in Windows & OSX - charlie84 - 04-01-2025

[attachment=13322]


Mac 24 M1 macOS Sonoma 14.7.3


RE: Availability of GTk3 Python bindings in Windows & OSX - Ofnuts - 04-01-2025

(04-01-2025, 10:23 AM)charlie84 Wrote: Mac 24 M1 macOS Sonoma 14.7.3

Thanks.