Skip to content

Python documentation for Grx.TextOptions is wrong #12

@cavenel

Description

@cavenel

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.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions