Gda.SetSource¶
Fields¶
Name |
Type |
Access |
Description |
---|---|---|---|
data_model |
r/w |
Can’t be |
|
nodes |
r/w |
list of |
Methods¶
class |
|
|
|
|
|
|
|
|
|
|
|
|
Details¶
- class Gda.SetSource¶
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.SetSource.free
on a struct that was created manually.- classmethod new(model)¶
- Parameters:
model (
Gda.DataModel
) – aGda.DataModel
- Returns:
a new
Gda.SetSource
struct.- Return type:
Creates a new
Gda.SetSource
struct.New in version 5.2.
- add_node(node)¶
- Parameters:
node (
Gda.SetNode
) – aGda.SetNode
to add
Set a
Gda.DataModel
New in version 5.2.
- copy()¶
- Returns:
a new
Gda.SetSource
- 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:
a
Gda.DataModel
used by self- Return type:
New in version 5.2.
- get_nodes()¶
- Returns:
a list of
Gda.SetNode
structs- Return type:
New in version 5.2.
- set_data_model(model)¶
- Parameters:
model (
Gda.DataModel
) – aGda.DataModel
Set a
Gda.DataModel
New in version 5.2.