Header updates for Gtk-3.0 and others

External libraries (GTK, GSL, SDL, Allegro, OpenGL, etc) questions.
TJF
Posts: 3486
Joined: Dec 06, 2009 22:27
Location: N47°, E15°
Contact:

Header updates for Gtk-3.0 and others

Postby TJF » Aug 04, 2018 10:24

I started a new project gir_headers @ github.com, where I collect some FreeBASIC header files for Gnome libraries, auto-created by the tool GirToBac from GObject Introspection (GI) *.gir files. It's a follow-up project of GNOME Header Set (32/64 bit). Hosting moved due to more easy update handling.

In a fist glance it contains a set of headers for the library Gtk-3.0 in version 3.22.11 (and matching dependencies). Since all headers install in a new folder named Gir, you can have both, the original FB headers and the GI headers on your box, and use either of them.

I just checked the compiling, but didn't really test. So please report in case of any trouble.

Regards

[edit]
Too much links in the text above. Here's the pure project link again:

https://github.com/DTJF/gir_headers
[/edit]
Last edited by TJF on Aug 05, 2018 9:28, edited 1 time in total.
VANYA
Posts: 1324
Joined: Oct 24, 2010 15:16
Location: Ярославль
Contact:

Re: Header updates for Gtk-3.0 and others

Postby VANYA » Aug 05, 2018 5:37

Excellent! The compiler project is not updated, but at least the headers can be modern.
TJF
Posts: 3486
Joined: Dec 06, 2009 22:27
Location: N47°, E15°
Contact:

Re: Header for Gtk-4.0

Postby TJF » May 30, 2019 18:57

Just uploaded an up-date:

* improved GLib and GObject macros
* Gtk-4.0

Gtk-4.0 isn't released yet, but for those who want to test I created experimental headers.

Regards
James Klutho
Posts: 14
Joined: Nov 11, 2009 23:44

Re: Header updates for Gtk-3.0 and others

Postby James Klutho » Nov 08, 2019 18:16

Thanks for these. I will give them a test. I abandoned GTK on Linux FB because the GTK3 headers were not up to date.
TJF
Posts: 3486
Joined: Dec 06, 2009 22:27
Location: N47°, E15°
Contact:

Re: Header updates for Gtk-3.0 and others

Postby TJF » Nov 09, 2019 5:39

Hello James Klutho,

you're welcome! Mind the chapter Migrating from GTK+ 2.x to GTK+ 3 in the documentation.

Regards
wallyg
Posts: 89
Joined: May 08, 2009 7:08
Location: Tucson Arizona

Re: Header updates for Gtk-3.0 and others

Postby wallyg » Nov 09, 2019 17:30

Thank you for the update, it is most appreciated.

After GTK 4.0 comes out, and you hear of a Windows 10 version, I would greatly appreciate finding out where I can download it.

Thank you again for all your great work.
TJF
Posts: 3486
Joined: Dec 06, 2009 22:27
Location: N47°, E15°
Contact:

Re: Header updates for Gtk-3.0 and others

Postby TJF » Nov 10, 2019 8:14

Hi wallyg,

Gtk4 isn't released yet. In order to test, you'll have to compile from source.

Find NSIS installers for the most recent versions at

https://github.com/tschoonj/GTK-for-Win ... r/releases

The maintainer announced to add Gtk4 when a MINGW MSYS2 package is available.

Regards

Return to “Libraries”

Who is online

Users browsing this forum: No registered users and 1 guest