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

Missing Constants? #213

Closed
pokedpeter opened this issue Aug 11, 2017 · 3 comments
Closed

Missing Constants? #213

pokedpeter opened this issue Aug 11, 2017 · 3 comments
Assignees

Comments

@pokedpeter
Copy link

@pokedpeter pokedpeter commented Aug 11, 2017

I am trying to figure out how to add constants, in particular for a first go: Gtk.STYLE_CLASS_LINKED. For starters, Is it even possible to add this?

@MikeWey
Copy link
Member

@MikeWey MikeWey commented Aug 12, 2017

The generator currently doesn't generate the constants, tough we should be able to add this.

@MikeWey MikeWey closed this in 6089698 Aug 19, 2017
@pokedpeter
Copy link
Author

@pokedpeter pokedpeter commented Aug 25, 2017

Sorry Mike, how can I access these constants? I've trying a few things but only seem to have access to the public enums in that file.

Thanks for the quick response and fix btw!

@MikeWey
Copy link
Member

@MikeWey MikeWey commented Aug 25, 2017

The *.c.types modules are publicly imported by the modules of the parent package.

So if you import any of the gtk modules you should be able to use STYLE_CLASS_LINKED or GTK_STYLE_CLASS_LINKED without importing anything else.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Linked pull requests

Successfully merging a pull request may close this issue.

None yet
2 participants