PropertyAction.this

Creates a gtk.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.

  1. this(GPropertyAction* gPropertyAction, bool ownedRef)
  2. this(string name, ObjectG object, string propertyName)
    class PropertyAction
    this

Parameters

name string

the name of the action to create

object ObjectG

the object that has the property to wrap

propertyName string

the name of the property

Return Value

Throws

ConstructionException GTK+ fails to create the object.

Meta

Since

2.38