Efl.Model.property

Description

No description supplied.

Since 1.23

Keys

  • property - Property name

Values

  • value - Property value

Getter

Retrieve the value of a given property name.

At this point the caller is free to get values from properties. The event Efl.Model.properties,changed may be raised to notify listeners of the property/value.

See Efl.Model.properties.get, Efl.Model.properties,changed

Since 1.23

Setter

Set a property value of a given property name.

The caller must first read Efl.Model.properties to obtain the list of available properties before being able to access them through Efl.Model.property. This function sets a new property value into given property name. Once the operation is completed the concrete implementation should raise Efl.Model.properties,changed event in order to notify listeners of the new value of the property.

If the model doesn't have the property then there are two possibilities, either raise an error or create the new property in model

See Efl.Model.property.get, Efl.Model.properties,changed

Since 1.23

Signature

@property property @pure_virtual {
    get {}
    set {
        return: future<any_value_ref>;
    }
    keys {
        property: string;
    }
    values {
        value: any_value_ref;
    }
}

C signature

Eina_Value *efl_model_property_get(const Eo *obj, const char *property);
Eina_Future *efl_model_property_set(Eo *obj, const char *property, Eina_Value *value);

Implemented by