On 23/05/2026 21:42, Georg Mlynek wrote:
I then asked Gemini 3.1 Pro (which has access to the Wincoot folder):
Can you figure out in the code which problem there is in the
coot_gui.coot_toolbar_button function?
9:29 PM
Yes, I can! I looked into the source code for coot_gui.py and found exactly why
it is failing.
The coot_gui.coot_toolbar_button function in your version of Coot 1 is
unfortunately completely broken due to several severe coding errors left by the
Coot developers during their transition to the new GTK4 interface.
Well, yes... I suppose so. We don't use coot_gui (much?) now. It's
basically abandoned since Gtk3+.
I wrote a blog post
https://pemsley.github.io/coot/blog/2026/04/11/adding-toolbar-buttons.html
That should get you going.
Paul.
########################################################################
To unsubscribe from the COOT list, click the following link:
https://www.jiscmail.ac.uk/cgi-bin/WA-JISC.exe?SUBED1=COOT&A=1
This message was issued to members of www.jiscmail.ac.uk/COOT, a mailing list
hosted by www.jiscmail.ac.uk, terms & conditions are available at
https://www.jiscmail.ac.uk/policyandsecurity/