Bug 676169 - GObject.bind_property: Support transform functions
GObject.bind_property: Support transform functions
Status: RESOLVED FIXED
Product: pygobject
Classification: Bindings
Component: introspection
unspecified
Other All
: Normal normal
: ---
Assigned To: Nobody's working on this now (help wanted and appreciated)
Python bindings maintainers
:
Depends on:
Blocks:
  Show dependency tree
 
Reported: 2012-05-16 14:35 UTC by Bastian Winkler
Modified: 2012-06-01 08:42 UTC (History)
2 users (show)

See Also:
GNOME target: ---
GNOME version: ---


Attachments
GObject.bind_property: Support transform functions (9.06 KB, patch)
2012-05-16 14:35 UTC, Bastian Winkler
none Details | Diff | Review
GObject.bind_property: Support transform functions (9.17 KB, patch)
2012-05-16 14:41 UTC, Bastian Winkler
none Details | Diff | Review

Description Bastian Winkler 2012-05-16 14:35:46 UTC
Add support for optional transformation functions to
pygobject_bind_property(). It uses a custom PyGClosure to marshal the
return value correctly.
Comment 1 Bastian Winkler 2012-05-16 14:35:48 UTC
Created attachment 214182 [details] [review]
GObject.bind_property: Support transform functions
Comment 2 Bastian Winkler 2012-05-16 14:41:05 UTC
Created attachment 214183 [details] [review]
GObject.bind_property: Support transform functions

Add support for optional transformation functions to
pygobject_bind_property(). It uses a custom PyGClosure to marshal the
return value correctly.
Comment 3 Martin Pitt 2012-06-01 08:42:59 UTC
Thank you, very nice! Applied.

Note You need to log in before you can comment on or make changes to this bug.