![]() |
![]() |
![]() |
clutk Reference Manual | ![]() |
---|---|---|---|---|
Top | Description | Object Hierarchy | Implemented Interfaces | Properties |
#include <ctk-icon-view.h> CtkIconView; CtkIconViewClass; CtkIconViewPrivate; ClutterActor * ctk_icon_view_new (void
); void ctk_icon_view_set_spacing (CtkIconView *icon_view
,gint spacing
); gint ctk_icon_view_get_spacing (CtkIconView *icon_view
); guint ctk_icon_view_get_n_cols (CtkIconView *icon_view
); guint ctk_icon_view_get_n_rows (CtkIconView *icon_view
);
"auto-fade-children" gboolean : Read / Write / Construct "n-cols" guint : Read "n-rows" guint : Read "spacing" gint : Read / Write / Construct
CtkIconView can hold multiple widgets and organises them into a grid that fills the space available.
void ctk_icon_view_set_spacing (CtkIconView *icon_view
,gint spacing
);
Sets the spacing between each item contained within icon_view
. Spacing is in pixels
|
A CtkIconView |
|
an integer defining the spacing size |
gint ctk_icon_view_get_spacing (CtkIconView *icon_view
);
Gets the spacing defined previously in ctk_icon_view_set_spacing()
|
A CtkIconView |
Returns : |
An integer defining the spacing in pixels |
guint ctk_icon_view_get_n_cols (CtkIconView *icon_view
);
|
a CtkIconView |
Returns : |
The number of columns in the icon_view
|
guint ctk_icon_view_get_n_rows (CtkIconView *icon_view
);
|
a CtkIconView |
Returns : |
The number of rows in the icon_view
|
"auto-fade-children"
property"auto-fade-children" gboolean : Read / Write / Construct
Fade out children that are not within the bounds of the iconview.
Default value: FALSE
"n-cols"
property"n-cols" guint : Read
Number of columns in the iconview.
Allowed values: <= G_MAXINT
Default value: 0
"n-rows"
property"n-rows" guint : Read
Number of rows in the iconview.
Allowed values: <= G_MAXINT
Default value: 0
"spacing"
property"spacing" gint : Read / Write / Construct
The amount of space between the children.
Allowed values: >= 0
Default value: 18