Skip to content

Commit

Permalink
another strip_boolean_result
Browse files Browse the repository at this point in the history
  • Loading branch information
lazka committed Feb 6, 2016
1 parent 01fc99d commit 5744f8c
Showing 1 changed file with 8 additions and 0 deletions.
8 changes: 8 additions & 0 deletions pgi/overrides/Gdk.py
Expand Up @@ -366,6 +366,14 @@ def __new__(cls, *args, **kwds):
__all__.append('Cursor')

color_parse = strip_boolean_result(Gdk.color_parse)
"""
:param spec: the string specifying the color
:type spec: :obj:`str`
:returns: :obj:`Gdk.Color` or :obj:`None` if the parsing didn't succeed
:rtype: :obj:`Gdk.Color` or :obj:`None`
"""

__all__.append('color_parse')


Expand Down

0 comments on commit 5744f8c

Please sign in to comment.