Re: GNU G-Golf 0.8.0-rc6 available for testing
David Pirotte <[email protected]>
| Newsgroups | gmane.lisp.guile.user |
|---|---|
| Message-ID | <20240919192006.14b2af40@tintin> |
Hello Florian, > G-Golf works great. Excellent! Note that you'll need to update your configuration and use/grab 0.8.0-rc7 - which fixes a 'missing some distributed files', necessary to be able to run the newly added examples/gtk-4/layout-manager.scm [ a g-golf port of the upstream gtk4-demo layout manager [ (transition) example > Now I can embed GTK programs within the Guix Home > configurations ... I am glad that you (finally) can happily use the distro of your dream. Your config example certainly should help other guixers willing to use g-golf. > All that is left is that I do not understand why > (gdk-display-get-default) returns #f in G-Golf but > gdk_display_get_default () in C returns 0x1c0e36c0. You need to have initialized either Gtk or Adw, otherwise it returns #f (as expected). scheme@(guile-user)> ,use (g-golf) scheme@(guile-user)> (gi-import-by-name "Gdk" "Display") $5 = #<<gobject-class> <gdk-display> 7fee0e488c30> scheme@(guile-user)> (gdk-display-get-default) $6 = #f scheme@(guile-user)> (gi-import-by-name "Gtk" "init") $7 = #<<function> 7fee075cb480> scheme@(guile-user)> (gtk-init) scheme@(guile-user)> (gdk-display-get-default) $8 = #<<gdk-wayland-display> 7fee0f054a10> David
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEhCJlRZtBM3furJHe83T9k6MFetcFAmbso5cACgkQ83T9k6MF etd4GAgAiY+ZzfKqvHrpu4dGlP1QdnLY2z6vMB9JzK0gWYXwzZRW86oQ2SqhJWAl Ka3kz6vtW+TO3VTfreQW/5As4TMNS8OecXFoaPyTiF7W3JgUzV3+MlK91QUFEmZH aDULH7mAcWgPutCJUdSgcVKB6a1/k4+V+qZ/RKugTg7+ZmQ/4eVC1EJhUFuSdPw0 H+dmK0n+eoeB1P3cska3G8QHc2VCHQtbl8/oAs/F79Jex2FiJ1TlKFaBut83UMho q4D9oejPR/g45QEWdjU6woD21pdokGA0ekTDS2cJoPV8WpBKgDwtZ/OHY4D6LAe+ CfaGQYPD578qrVZ83//VtRSyRjNTwQ== =wjYn -----END PGP SIGNATURE-----