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(GPropertyAction* gPropertyAction, bool ownedRef)
  2. this(string name, void* object, string propertyName)
    class PropertyAction
    this
    (
    string name
    ,
    void* object
    ,)

Parameters

name string

the name of the action to create

object void*

the object that has the property to wrap

propertyName string

the name of the property

Return: a new #GPropertyAction

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.38