Table of Contents

Class BindingGroup

Namespace
GObject
Assembly
GObject-2.0.dll
public class BindingGroup : Object, IDisposable, NativeObject, GTypeProvider, InstanceFactory
Inheritance
BindingGroup
Implements
Inherited Members

Constructors

BindingGroup(params ConstructArgument[])

[Obsolete("Regular C# constructors on native classes will be removed in a future version. Please see the linked documentation for more details. It contains scenarios and possible solutions to prepare for the upcoming changes.", DiagnosticId = "GirCore1007", UrlFormat = "https://gircore.github.io/docs/integration/diagnostic/1007.html")]
public BindingGroup(params ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

BindingGroup(CreationData)

[Obsolete("This constructor is a workaround to keep legacy APIs alive. Do not use it.")]
protected BindingGroup(CreationData data)

Parameters

data CreationData

BindingGroup(BindingGroupHandle)

protected BindingGroup(BindingGroupHandle handle)

Parameters

handle BindingGroupHandle

Fields

SourcePropertyDefinition

public static readonly Property<Object?, BindingGroup> SourcePropertyDefinition

Field Value

Property<Object, BindingGroup>

Properties

Source

public Object? Source { get; set; }

Property Value

Object

Methods

Bind(string, Object, string, BindingFlags)

[Version("2.72")]
public void Bind(string sourceProperty, Object target, string targetProperty, BindingFlags flags)

Parameters

sourceProperty string
target Object
targetProperty string
flags BindingFlags

BindFull(string, Object, string, BindingFlags, Closure?, Closure?)

[Version("2.72")]
public void BindFull(string sourceProperty, Object target, string targetProperty, BindingFlags flags, Closure? transformTo, Closure? transformFrom)

Parameters

sourceProperty string
target Object
targetProperty string
flags BindingFlags
transformTo Closure
transformFrom Closure

DupSource()

[Version("2.72")]
public Object? DupSource()

Returns

Object

GetGType()

public static Type GetGType()

Returns

Type

New()

[Version("2.72")]
public static BindingGroup New()

Returns

BindingGroup

NewFromPointer(nint, bool)

Creates a new managed BindingGroup instance for a given pointer.

public static BindingGroup NewFromPointer(nint ptr, bool ownsHandle)

Parameters

ptr nint
ownsHandle bool

Returns

BindingGroup

NewWithProperties(ConstructArgument[])

Creates a new BindingGroup and sets the properties specified by the construct arguments.

public static BindingGroup NewWithProperties(ConstructArgument[] constructArguments)

Parameters

constructArguments ConstructArgument[]

The properties to set.

Returns

BindingGroup

SetSource(Object?)

[Version("2.72")]
public void SetSource(Object? source)

Parameters

source Object