Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Please add GLib binding #11

Open
ghost opened this issue Sep 25, 2023 · 5 comments
Open

Please add GLib binding #11

ghost opened this issue Sep 25, 2023 · 5 comments

Comments

@ghost
Copy link

ghost commented Sep 25, 2023

GLib is a bit different. You will have to parse then GObject Introspection file (.gir) to generate the binding instead of parsing the headers directly. Anyway, it's a very useful library that I think we should be able to use.

@IsaacShelton
Copy link
Collaborator

This would require a translator for .gir files, so might require separate program

@ghost ghost closed this as completed Oct 6, 2023
@ghost
Copy link

ghost commented Dec 19, 2023

This would require a translator for .gir files, so might require separate program

They are just XML. Please have a look at them: https://github.com/gtk-rs/gir-files

@IsaacShelton IsaacShelton reopened this Dec 27, 2023
@IsaacShelton
Copy link
Collaborator

It would be nice but I do not have the time to implement it.

Like said, it would require a separate program to generate the bindings.

Feel free to make a repo for this though, and it can become a part of the project if you want

@ghost
Copy link

ghost commented Dec 28, 2023

@IsaacShelton Please close this issue. Most of the time, people want Gtk, not GLib. People asked for GLib because they want to use the data structures GLib provides. Adept should implement these data structures instead.

@ghost
Copy link

ghost commented Jan 2, 2024

It's nothing wrong to have GLib, though. GLib is more than just data structures! Btw, I will create an issue for Gtk.

@ghost ghost mentioned this issue Jan 2, 2024
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant