Creates a Action corresponding to the value of property property_name
on
object
.
The property must be existent and readable and writable (and not construct-only).
This function takes a reference on object
and doesn't release it until the action is destroyed.
name |
the name of the action to create |
object |
the object that has the property to wrap |
property_name |
the name of the property |
a new PropertyAction |