| Top |
| GtkWidget * | gdaui_cloud_new () |
| void | gdaui_cloud_set_selection_mode () |
| void | gdaui_cloud_filter () |
| GtkWidget * | gdaui_cloud_create_filter_widget () |
| gdouble | (*GdauiCloudWeightFunc) () |
| void | gdaui_cloud_set_weight_func () |
| int | label-column | Read / Write |
| double | max-scale | Read / Write |
| double | min-scale | Read / Write |
| GdaDataModel * | model | Read / Write |
| int | weight-column | Read / Write |
GObject
╰── GInitiallyUnowned
╰── GtkWidget
╰── GtkContainer
╰── GtkBox
╰── GdauiCloud
GdauiCloud implements AtkImplementorIface, GtkBuildable, GtkOrientable and GdauiDataSelector.
The GdauiCloud widget displays a string for each row in a GdaDataModel for which the size is variable (determined either by some data in the data model, or by a function provided by the programmer).
Depending on the selection mode of the widget, each string can be selected by the user and the "selection-changed" signal is emitted.
GtkWidget * gdaui_cloud_new (GdaDataModel *model,gint label_column,gint weight_column);
Creates a new GdauiCloud widget suitable to display the data in model
Since: 4.2
void gdaui_cloud_set_selection_mode (GdauiCloud *cloud,GtkSelectionMode mode);
Sets cloud
's selection mode
Since: 4.2
void gdaui_cloud_filter (GdauiCloud *cloud,const gchar *filter);
Filters the elements displayed in cloud
, by altering their color.
cloud |
a GdauiCloud widget |
|
filter |
the filter to use, or |
[allow-none] |
Since: 4.2
GtkWidget *
gdaui_cloud_create_filter_widget (GdauiCloud *cloud);
Creates a search widget linked directly to modify cloud
's appearance.
Since: 4.2
gdouble (*GdauiCloudWeightFunc) (GdaDataModel *model,gint row,gpointer data);
void gdaui_cloud_set_weight_func (GdauiCloud *cloud,GdauiCloudWeightFunc func,gpointer data);
Specifies a function called by cloud
to compute each row's respective weight.
cloud |
a GdauiCloud widget |
|
func |
a GdauiCloudWeightFunc function which computes weights, or |
[allow-none][scope notified] |
data |
a pointer to pass as last argument of |
[allow-none] |
Since: 4.2
“label-column” property “label-column” int
Column in the data model which contains the text to display, the column must be a G_TYPE_STRING.
Owner: GdauiCloud
Flags: Read / Write
Allowed values: >= -1
Default value: -1
“max-scale” property “max-scale” double
Owner: GdauiCloud
Flags: Read / Write
Allowed values: [0.1,10]
Default value: 3
“min-scale” property “min-scale” double
Owner: GdauiCloud
Flags: Read / Write
Allowed values: [0.1,10]
Default value: 0.8
“activate” signalvoid user_function (GdauiCloud *gdauicloud, int arg1, gpointer user_data)
Flags: Run First