FlowLayout
Object Hierarchy:
Description:
[ CCode ( type_id = "clutter_flow_layout_get_type ()" ) ]
[ Version ( since = "1.2" ) ]
public class FlowLayout : LayoutManager
[ Version ( since = "1.2" ) ]
public class FlowLayout : LayoutManager
The FlowLayout structure contains only private data and should be accessed using the provided API
Namespace: Clutter
Package: clutter-1.0
Content:
Properties:
- public float column_spacing { get; set; }
The spacing between columns, in pixels; the value of this property is honoured by horizontal non-overflowing layouts and by vertical overflowing layouts
- public bool homogeneous { get; set; }
Whether each child inside the FlowLayout should receive the same allocation
- public float max_column_width { get; set; }
Maximum width for each column in the layout, in pixels.
- public float max_row_height { get; set; }
Maximum height for each row in the layout, in pixels.
- public float min_column_width { get; set; }
Minimum width for each column in the layout, in pixels
- public float min_row_height { get; set; }
Minimum height for each row in the layout, in pixels
- public FlowOrientation orientation { get; set construct; }
The orientation of the FlowLayout.
- public float row_spacing { get; set; }
The spacing between rows, in pixels; the value of this property is honoured by vertical non-overflowing layouts and by horizontal overflowing layouts
- public bool snap_to_grid { get; set; }
Whether the FlowLayout should arrange its children on a grid
Creation methods:
- public FlowLayout (FlowOrientation orientation)
Creates a new FlowLayout with the given
orientation
Methods:
- public float get_column_spacing ()
Retrieves the spacing between columns
- public void get_column_width (out float min_width, out float max_width)
Retrieves the minimum and maximum column widths
- public bool get_homogeneous ()
Retrieves whether the this is homogeneous
- public FlowOrientation get_orientation ()
Retrieves the orientation of the this
- public void get_row_height (out float min_height, out float max_height)
Retrieves the minimum and maximum row heights
- public float get_row_spacing ()
Retrieves the spacing between rows
- public bool get_snap_to_grid ()
Retrieves the value of snap_to_grid property
- public void set_column_spacing (float spacing)
Sets the space between columns, in pixels
- public void set_column_width (float min_width, float max_width)
Sets the minimum and maximum widths that a column can have
- public void set_homogeneous (bool homogeneous)
Sets whether the this should allocate the same space for each child
- public void set_orientation (FlowOrientation orientation)
Sets the orientation of the flow layout
- public void set_row_height (float min_height, float max_height)
Sets the minimum and maximum heights that a row can have
- public void set_row_spacing (float spacing)
Sets the spacing between rows, in pixels
- public void set_snap_to_grid (bool snap_to_grid)
Whether the this should place its children on a grid.
Inherited Members:
All known members inherited from class Clutter.LayoutManager
All known members inherited from class GLib.Object