Basics
Guides
API Reference
Basics
Guides
API Reference
[17:7] extends: object
GBindingGroup can be used to bind multiple properties from an object
collectively. Use the various methods to bind properties from a single source
object to multiple destination objects. Properties can be bound
bidirectionally and are connected when the source object is set with
[method@GObject.BindingGroup.set_source].
BindingGroup ()
Creates a new #GBindingGroup.
toNativeHandle (Source)
Normalizes a constructor argument into a raw pointer carrier. Accepts a raw NativeHandle, a raw NativeBuffer returned from
fn.call(...), another generated wrapper exposinghandle(), or null. Returns null when the argument carries no pointer.
Source is the raw handle, raw buffer, wrapper, or null.A raw pointer carrier or null when no pointer is present.getLib ()
Returns the opened native library for this generated wrapper.
The opened native library.handle ()
Returns the wrapped NativeHandle.
The wrapped NativeHandle.isNull ()
Returns true when the wrapped handle is null.
A bool.describe ()
Returns a small string for debugging generated wrappers.
A string.asObject ()
Wraps this handle as
Object.
A Object object.getProperty (string Name)
Reads one generated property by name.
setProperty (string Name, Value)
Writes one generated property by name.
setSource (object Value)
The source object used for binding properties.
Value is the new property value.None.bind (string source_property, object target, string target_property, string flags)
Creates a binding between @source_property on the source object and
on @target. Whenever the @source_property is changed theis updated using the same value. The binding flag %G_BINDING_SYNC_CREATE is automatically specified. See g_object_bind_property() for more information.source_property is the property on the source to bind.target is the target #GObject.target_property is the property on @target to bind.flags is the flags used to create the #GBinding.None.bind_with_closures (string source_property, object target, string target_property, string flags, object transform_to, object transform_from)
Creates a binding between @source_property on the source object and
on @target, allowing you to set the transformation functions to be used by the binding. The binding flag %G_BINDING_SYNC_CREATE is automatically specified. This function is the language bindings friendly version of g_binding_group_bind_property_full(), using #GClosures instead of function pointers. See g_object_bind_property_with_closures() for more information.source_property is the property on the source to bind.target is the target #GObject.target_property is the property on @target to bind.flags is the flags used to create the #GBinding.transform_to is a #GClosure wrapping the transformation function from the source object to the @target, or %NULL to use the default.transform_from is a #GClosure wrapping the transformation function from the @target to the source object, or %NULL to use the default.None.dup_source ()
Gets the source object used for binding properties.
set_source (object source)
Sets @source as the source object used for creating property bindings. If there is already a source object all bindings from it will be removed. Note that all properties that have been bound must exist on @source.
source is the source #GObject, or %NULL to clear it.None.[203:14] static extends: object
Generated metadata helpers for BindingGroup class surfaces.
properties ()
Returns property metadata for
BindingGroup.
A list.
Aussom
Write once. Embed everywhere.
Copyright 2026 Austin Lehman. All rights reserved.