taviso / ctypes.sh

A foreign function interface for bash.
MIT License
2.11k stars 92 forks source link

Migrate the GTK example to GTK 4 #60

Closed linkmauve closed 1 year ago

linkmauve commented 1 year ago

There were minimal changes to this example, the main differences are that halign and valign now default to GTK_ALIGN_FILL instead of GTK_ALIGN_CENTER, and that the GtkContainer interface got replaced with direct methods on the container classes (such as GtkWindow or GtkBox).

taviso commented 1 year ago

Thanks, this looks great! I just tested it and it works perfectly, although I notice a prototype changed in bash-5.2 I need to correct!