grx icon indicating copy to clipboard operation
grx copied to clipboard

Python documentation for Grx.TextOptions is wrong

Open cavenel opened this issue 8 years ago • 0 comments

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.

cavenel avatar Oct 29 '17 19:10 cavenel