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

Python documentation for Grx.TextOptions is wrong #12

Open
cavenel opened this issue Oct 29, 2017 · 0 comments
Open

Python documentation for Grx.TextOptions is wrong #12

cavenel opened this issue Oct 29, 2017 · 0 comments

Comments

@cavenel
Copy link

cavenel commented Oct 29, 2017

The parameters for the constructor should be:

from gi.repository import Grx

@accepts(Grx.Font, Grx.Color)
text_options = Grx.TextOptions(font, fg)

According to @dlech, it looks like the problem is only for constructors that do not inherit from GObject.

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