PropertyAction.this

Creates a #GAction 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.

  1. this(void* ptr, Flag!"Take" take)
  2. this(string name, gobject.object.ObjectWrap object, string propertyName)
    class PropertyAction

Parameters

name string

the name of the action to create

object gobject.object.ObjectWrap

the object that has the property to wrap

propertyName string

the name of the property

Return Value

a new #GPropertyAction