Ok, it works. Not 100%, for instance the key inputs seem to be repeated but basic mode changing, movement, redraw, and object edit function.

Screenshot 2024-09-30 at 8.37.45 PM.png

On Sep 30, 2024, at 8:02 PM, Miller Puckette <mpuckette@cloud.ucsd.edu> wrote:

You need the very latest pd in git... I had to fix the guicmd flag.

On 9/30/24 7:48 PM, Dan Wilcox wrote:
The pdgtk demo compiled ok on macOS 14.5 with the following Homebrew packages installed: tcl-tk gtk4

I am not able to run it though, pdgtk is complaining about a missing port on invocation:

danomatika@danomatika pdgtk % pd -guicmd `pwd`/pdgtk -nrt -stderr z.pd
usage: /Users/danomatika/Downloads/pdgtk/pdgtk <port>
^CPd: signal 2
gui socket 0 -
closing audio...
closing MIDI...
... done.

On Sep 29, 2024, at 12:00 PM, pd-dev-request@lists.iem.at wrote:

Well, I made a stab at doing the same thing with GTK4 - you can grab it
here:http://msp.ucsd.edu/tmp/2024.09.28-pdgtk.tgz.  It's about 1200
lines of code and does only a coupe of very basic things, but it allows
us to guess what it would entail to do the whole job.  Of the 325 calls
to pdgui_v[a]mess in the PD source, it takes care of about 10 I think.

--------
Dan Wilcox
danomatika.com<https://urldefense.com/v3/__http://danomatika.com__;!!Mih3wA!E_CT8ym4bGEv_YCUa9H9wSXdRQjU6d-Z7k8zmzLUuXeuk3SmJmJHHt-EaFss7yRsrS6nqvMEnEypwrT2xtCBKg69nQ$>
robotcowboy.com<https://urldefense.com/v3/__http://robotcowboy.com__;!!Mih3wA!E_CT8ym4bGEv_YCUa9H9wSXdRQjU6d-Z7k8zmzLUuXeuk3SmJmJHHt-EaFss7yRsrS6nqvMEnEypwrT2xtCKigPjDw$>

--------
Dan Wilcox