Re: G-Golf - How to use or import G-types like G_TYPE_STRING and similar?
David Pirotte <[email protected]> Mon, 5 May 2025 18:27:06 -0300
| Newsgroups | gmane.lisp.guile.user |
|---|---|
| Message-ID | <20250505182706.095acfa8@tintin> |
Hi Zelphir, > I am trying to use G-Golf to create a tree view (the thing that looks > like a table) and for that purpose to create a GtkListStore instance. Do not use GtkTreView, deprecated in 4.10 and will be removed from Gtk-5. Instead, carefully read this section (till the very end): https://docs.gtk.org/gtk4/section-list-widget.html > ... > The import of "ListStore" seems to work fine, does not produce an > error at least. But "G_TYPE_STRING" and "G_TYPE_BOOLEAN" are missing, > unbound identifiers. See https://www.gnu.org/software/g-golf/manual/html_node/Type-Information.html %g-type-fundamental-flags %g-type-fundamental-types So in your example, you'd pass 'boolean David
signature.asc
(application/pgp-signature, 488 B)
-----BEGIN PGP SIGNATURE----- iQEzBAEBCgAdFiEEhCJlRZtBM3furJHe83T9k6MFetcFAmgZLSoACgkQ83T9k6MF etcaYwf/QmtvktVxT2ftw6m5wCMml10pSpBD/ztoAFLyh8pxLN1oGJOYfWg2Wu2I zWrXGbZ6C93okGSLbHyyFzAnXW8ehQXzK7+ztJl6XfIs0Qt22G3uB37QsJGu/Mtf O7HXOQdyM2R6WCt535AI2G3q5/mc6xj0xB53SJ2L8gt5MkNct3xLx0dwPEZ7o9FH HfqAyhgCtLt8bcPX7Q13w2mVNvTsUebbJe+BeGsrfnvavG9z1+7p4glgvOkdGQLL B57scK7ZfcklCmlX9HOusJyawCW66rDg6Rm4t8qYvx91W8aAcxqV5EDtxU44ZLEi iTE8aV6Vn3D2oYaZ8P+1LV7oKA83aw== =dRv1 -----END PGP SIGNATURE-----