Gda.SetNode¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
holder |
r/w |
a |
|
source_column |
r/w |
a |
|
source_model |
r/w |
a |
Methods¶
class |
|
|
|
|
|
|
|
|
|
|
|
|
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
) – aGda.Holder
to used by newGda.SetNode
- Returns:
a new
Gda.SetNode
struct.- Return type:
Creates a new
Gda.SetNode
struct.New in version 5.2.
- copy()¶
- Returns:
a new
Gda.SetNode
- Return type:
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:
New in version 5.2.
- get_holder()¶
- Returns:
the
Gda.Holder
used by self- Return type:
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 noGda.DataModel
is used by self.- Return type:
New in version 5.2.
- set_data_model(model)¶
- Parameters:
model (
Gda.DataModel
orNone
) – aGda.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 noGda.DataModel
is set then column is set to invalid (-1);New in version 5.2.