Re: G-Golf - How to use or import G-types like G_TYPE_STRING and similar?

Zelphir Kaltstahl <[email protected]> Thu, 8 May 2025 10:36:10 +0000
Newsgroups gmane.lisp.guile.user
Message-ID <[email protected]>
Hello David!

On 06.05.25 05:27, David Pirotte wrote:
> 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.
> Seehttps://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

Thanks for the hints!

Best regards, Zelphir

-- 
repositories:https://notabug.org/ZelphirKaltstahl,https://codeberg.org/ZelphirKaltstahl