property_bind_gdkrgba


Description:

[ CCode ( cname = "xfconf_g_property_bind_gdkrgba" ) ]
[ Version ( deprecated = true , deprecated_since = "4.19.3" , since = "4.12.1" ) ]
public ulong property_bind_gdkrgba (Channel channel, string xfconf_property, void* object, string object_property)

Warning: property_bind_gdkrgba is deprecated since 4.19.3.

Binds an Xfconf property to a Object property of type GDK_TYPE_RGBA (aka a GdkRGBA struct).

Note:

Use property_bind() with typeof ( GenericArray) instead.

If the property is changed via either the Object or Xfconf, the corresponding property will also be updated. The binding is initialized from the Xfconf property, i.e. the initial value of the Object property is overwritten.

This is a special-case binding; the GdkRGBA struct is not ideal as-is for binding to a property, so it is stored in the Xfconf store as four 16-bit unsigned ints (red, green, blue, alpha).

Parameters:

channel

An Channel.

xfconf_property

A property on channel.

object

A Object.

object_property

A valid property on object.

Returns:

an ID number that can be used to later remove the binding.


Namespace: Xfconf
Package: libxfconf-0