Skip to content

Conversation

@FakeMichau
Copy link
Contributor

Not sure if that's the best approach or if it maybe should be implemented somewhere else.
Took the enums from gtk-layer-shell.
It works and in the worst case I hope this saves the maintainers some time diagnosing the cause

ref: https://gitlab.gnome.org/GNOME/pygobject/-/blob/main/docs/guide/api/flags_enums.rst

@its-darsh
Copy link
Contributor

Indeed that's the right way of fixing this issue, however, this is more of a PyGObject issue with the binding, PyGObject should automatically detect what is an enum and what's not...

I had multiple plans of fixing this issue however I took the easiest route and that is waiting till upstream is fixed. I also thought about editing the implementation of Property.

@FakeMichau
Copy link
Contributor Author

Are they aware of the issue? I looked at issues on gnome's gitlab for gobject-introspection but can't tell if any of them relate to this.

@its-darsh its-darsh added bug Something isn't working good first issue Good for newcomers labels May 26, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working good first issue Good for newcomers

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants