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

Comments

Projects
None yet
2 participants
@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 MikeWey self-assigned this Aug 12, 2017

@MikeWey

This comment has been minimized.

Member

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

This comment has been minimized.

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

This comment has been minimized.

Member

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