Gda.SetNode

Fields

Name

Type

Access

Description

holder

Gda.Holder

r/w

a Gda.Holder. It can’t be None

source_column

int

r/w

a int with the number of column in source_model

source_model

Gda.DataModel

r/w

a Gda.DataModel. It could be None

Methods

class

new (holder)

copy ()

free ()

get_data_model ()

get_holder ()

get_source_column ()

set_data_model (model)

set_holder (holder)

set_source_column (column)

Details

class Gda.SetNode

Since 5.2, you must consider this struct as opaque. Any access to its internal must use public API. Don’t try to use Gda.SetNode.free on a struct that was created manually.

classmethod new(holder)
Parameters:

holder (Gda.Holder) – a Gda.Holder to used by new Gda.SetNode

Returns:

a new Gda.SetNode struct.

Return type:

Gda.SetNode

Creates a new Gda.SetNode struct.

New in version 5.2.

copy()
Returns:

a new Gda.SetNode

Return type:

Gda.SetNode

Copy constructor.

New in version 5.2.

free()

Frees any resources taken by self struct. If self is None, then nothing happens.

New in version 5.2.

get_data_model()
Returns:

the Gda.DataModel used by self

Return type:

Gda.DataModel

New in version 5.2.

get_holder()
Returns:

the Gda.Holder used by self

Return type:

Gda.Holder

New in version 5.2.

get_source_column()
Returns:

the number of column referenced in a given Gda.DataModel. If negative no column is referenced or no Gda.DataModel is used by self.

Return type:

int

New in version 5.2.

set_data_model(model)
Parameters:

model (Gda.DataModel or None) – a Gda.DataModel to be used by self

Set a Gda.DataModel to be used by self. model increment its reference counting when set. Internally referenced column number is set to first column in model.

New in version 5.2.

set_holder(holder)
Parameters:

holder (Gda.Holder) –

Set a Gda.Holder to self.

New in version 5.2.

set_source_column(column)
Parameters:

column (int) –

Set column number in the Gda.DataModel used self. If no Gda.DataModel is set then column is set to invalid (-1);

New in version 5.2.