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

Documentation for lgi #322

Open
aidinio opened this issue Sep 3, 2024 · 1 comment
Open

Documentation for lgi #322

aidinio opened this issue Sep 3, 2024 · 1 comment

Comments

@aidinio
Copy link

aidinio commented Sep 3, 2024

I have been using lgi for one of my projects, and it has been incredibly difficult for me to wrap my head around it. There aren't any documents for it, and the only way for me to make a program with lgi that uses dbus, is to look at other people's code, and Gio documents that are authored for C, then write my own code, and make it work with a lot of trial and error. Is there any better way to to do this? Any time a GLib.Variant value is returned, I have to fiddle around with it for a long time, and then finally find out what value it actually stored. I'm amazed that there isn't any documentation for the simplest operations with lgi and dbus.

@psychon
Copy link
Collaborator

psychon commented Sep 4, 2024

Do you know about https://github.com/lgi-devs/lgi/tree/master/docs? Because it sounds a lot like you do not. Feel free to improve that with things that you wish where explained there.

documents that are authored for C

Well, yes and no. That's how GObject-Introspection works. The C code is the authoritative source for things and everything else works by parsing the code and the comments on it.

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

2 participants