Top | ![]() |
![]() |
![]() |
![]() |
GdauiSetGroup * | gdaui_set_group_new () |
void | gdaui_set_group_free () |
GdauiSetGroup * | gdaui_set_group_copy () |
void | gdaui_set_group_set_source () |
GdauiSetSource * | gdaui_set_group_get_source () |
void | gdaui_set_group_set_group () |
GdaSetGroup * | gdaui_set_group_get_group () |
GdauiSetSource * | gdaui_set_source_new () |
void | gdaui_set_source_free () |
GdauiSetSource * | gdaui_set_source_copy () |
void | gdaui_set_source_set_source () |
GdaSetSource * | gdaui_set_source_get_source () |
gint | gdaui_set_source_get_shown_n_cols () |
gint * | gdaui_set_source_get_shown_columns () |
void | gdaui_set_source_set_shown_columns () |
gint | gdaui_set_source_get_ref_n_cols () |
gint * | gdaui_set_source_get_ref_columns () |
void | gdaui_set_source_set_ref_columns () |
GdauiSet * | gdaui_set_new () |
GdauiSetGroup * | gdaui_set_get_group () |
GSList * | gdaui_set_get_sources () |
GSList * | gdaui_set_get_groups () |
GdauiSetGroup *
gdaui_set_group_new (GdaSetGroup *group
);
Creates a new GdauiSetGroup struct.
Return: (transfer full): a new GdauiSetGroup struct.
Since: 5.2
void
gdaui_set_group_free (GdauiSetGroup *sg
);
Frees any resources taken by sg
struct. If sg
is NULL
, then nothing happens.
Since: 5.2
GdauiSetGroup *
gdaui_set_group_copy (GdauiSetGroup *sg
);
Copy constructor.
Since: 5.2
void gdaui_set_group_set_source (GdauiSetGroup *sg
,GdauiSetSource *source
);
Set source to source
. if source
is NULL, then group
nodes contains exactly one entry.
Since: 5.2
GdauiSetSource *
gdaui_set_group_get_source (GdauiSetGroup *sg
);
Get source used by sg
.
Since: 5.2
void gdaui_set_group_set_group (GdauiSetGroup *sg
,GdaSetGroup *group
);
Set source to source
.
Since: 5.2
GdaSetGroup *
gdaui_set_group_get_group (GdauiSetGroup *sg
);
Get group used by sg
.
Since: 5.2
GdauiSetSource *
gdaui_set_source_new (GdaSetSource *source
);
Creates a new GdauiSetSource struct.
Return: (transfer full): a new GdauiSetSource struct.
Since: 5.2
void
gdaui_set_source_free (GdauiSetSource *s
);
Frees any resources taken by s
struct. If s
is NULL
, then nothing happens.
Since: 5.2
GdauiSetSource *
gdaui_set_source_copy (GdauiSetSource *s
);
Copy constructor.
Since: 5.2
void gdaui_set_source_set_source (GdauiSetSource *s
,GdaSetSource *source
);
Set source to source
.
Since: 5.2
GdaSetSource *
gdaui_set_source_get_source (GdauiSetSource *s
);
Get source used by sg
.
Since: 5.2
gint
gdaui_set_source_get_shown_n_cols (GdauiSetSource *s
);
Since: 5.2
gint *
gdaui_set_source_get_shown_columns (GdauiSetSource *s
);
Since: 5.2
void gdaui_set_source_set_shown_columns (GdauiSetSource *s
,gint *columns
,gint n_columns
);
Set the columns to be shown.
s |
||
columns |
an array of with columns numbers to be shown from a GdaSetSource. |
[array length=n_columns] |
n_columns |
number of columns of the array |
Since: 5.2
gint
gdaui_set_source_get_ref_n_cols (GdauiSetSource *s
);
Since: 5.2
gint *
gdaui_set_source_get_ref_columns (GdauiSetSource *s
);
Since: 5.2
void gdaui_set_source_set_ref_columns (GdauiSetSource *s
,gint *columns
,gint n_columns
);
Set the columns to be shown.
s |
a GdauiSetSource struct to free |
|
columns |
an array of with columns numbers of referen (Primary Key) at GdaSetSource. |
[array length=n_columns] |
n_columns |
number of columns of the array |
Since: 5.2
GdauiSet *
gdaui_set_new (GdaSet *set
);
Creates a new GdauiSet which wraps set
's properties
Since: 5.2
GdauiSetGroup * gdaui_set_get_group (GdauiSet *dbset
,GdaHolder *holder
);
Since: 5.2
struct GdauiSetClass { GObjectClass parent_class; void (*public_data_changed) (GdauiSet *set); void (*source_model_changed) (GdauiSet *set, GdauiSetSource *source); };
“public-data-changed”
signalvoid user_function (GdauiSet *set, gpointer user_data)
Gets emitted when set
's public data (GdauiSetGroup or GdauiSetSource values) have changed
Flags: Run First
Since: 4.2
“source-model-changed”
signalvoid user_function (GdauiSet *set, gpointer source, gpointer user_data)
Gets emitted when the data model used in set
's GdauiSetSource has changed
set |
the GdauiSet |
|
source |
the GdauiSetSource. |
[type GdauiSetSource] |
user_data |
user data set when the signal handler was connected. |
Flags: Run First
Since: 4.2