Warning: property_bind_gdkcolor is deprecated since 4.19.3.
Binds an Xfconf property to a Object property of type GDK_TYPE_COLOR (aka a
GdkColor struct).
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 GdkColor 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). Since GdkColor (currently) only supports RGB and not RGBA, the last value will always be set to 0xFFFF.
| channel |
An Channel. |
| xfconf_property |
A property on |
| object |
A Object. |
| object_property |
A valid property on |
|
an ID number that can be used to later remove the binding. |