bind_connection_status_to_property
Description:
public unowned Binding bind_connection_status_to_property (void* target, string target_property, bool invert)
Binds the status of this
to the boolean property of another object using a Binding such that the
target_property
will be set to true
when this is connected (and invert
is
false
).
target_property
will be synchronised immediately (%G_BINDING_SYNC_CREATE). invert
can be interpreted as analogous to
INVERT_BOOLEAN.
For instance, this function can be used to bind the GtkWidget:sensitive property to only make a widget sensitive when the account is connected.
See g_object_bind_property
for more information.
Parameters:
this | |
target |
the target Object |
target_property |
the property on |
invert |
|
Returns:
the Binding instance representing the binding between the
this and the |