mirror of
https://github.com/brl/mutter.git
synced 2025-06-13 16:59:30 +00:00
Add ClutterTableLayout, a layout showing children in rows and columns
A TableLayout is a layout manager that allocates its children in rows and columns. Each child is assigned to a cell (or more if a cell span is set). The supported child properties are: • x-expand and y-expand: if this cell with try to allocate the available extra space for the table. • x-fill and y-fill: if the child will get all the space available in the cell. • x-align and y-align: if the child does not fill the cell, then where the child will be aligned inside the cell. • row-span and col-span: number of cells the child will allocate for itself. Also, the TableLayout has row-spacing and col-spacing for specifying the space in pixels between rows and between columns. We also include a simple test of the layout manager, and the documentation updates. The TableLayout was implemented starting from MxTable and ClutterBoxLayout. http://bugzilla.clutter-project.org/show_bug.cgi?id=2038 Signed-off-by: Emmanuele Bassi <ebassi@linux.intel.com>
This commit is contained in:

committed by
Emmanuele Bassi

parent
1043e77a00
commit
d14e294d86
@ -90,6 +90,7 @@
|
||||
<xi:include href="xml/clutter-bin-layout.xml"/>
|
||||
<xi:include href="xml/clutter-flow-layout.xml"/>
|
||||
<xi:include href="xml/clutter-box-layout.xml"/>
|
||||
<xi:include href="xml/clutter-table-layout.xml"/>
|
||||
</chapter>
|
||||
|
||||
<chapter>
|
||||
|
@ -2068,6 +2068,53 @@ ClutterBoxLayoutPrivate
|
||||
clutter_box_layout_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>clutter-table-layout</FILE>
|
||||
ClutterTableAlignment
|
||||
ClutterTableLayout
|
||||
ClutterTableLayoutClass
|
||||
clutter_table_layout_new
|
||||
clutter_table_layout_set_row_spacing
|
||||
clutter_table_layout_get_row_spacing
|
||||
clutter_table_layout_set_column_spacing
|
||||
clutter_table_layout_get_column_spacing
|
||||
clutter_table_layout_get_row_count
|
||||
clutter_table_layout_get_column_count
|
||||
|
||||
<SUBSECTION>
|
||||
clutter_table_layout_pack
|
||||
|
||||
<SUBSECTION>
|
||||
clutter_table_layout_set_alignment
|
||||
clutter_table_layout_get_alignment
|
||||
clutter_table_layout_set_expand
|
||||
clutter_table_layout_get_expand
|
||||
clutter_table_layout_set_fill
|
||||
clutter_table_layout_get_fill
|
||||
clutter_table_layout_get_span
|
||||
clutter_table_layout_set_span
|
||||
|
||||
<SUBSECTION>
|
||||
clutter_table_layout_set_use_animations
|
||||
clutter_table_layout_get_use_animations
|
||||
clutter_table_layout_set_easing_duration
|
||||
clutter_table_layout_get_easing_duration
|
||||
clutter_table_layout_set_easing_mode
|
||||
clutter_table_layout_get_easing_mode
|
||||
|
||||
<SUBSECTION Standard>
|
||||
CLUTTER_TYPE_TABLE_LAYOUT
|
||||
CLUTTER_TABLE_LAYOUT
|
||||
CLUTTER_TABLE_LAYOUT_CLASS
|
||||
CLUTTER_IS_TABLE_LAYOUT
|
||||
CLUTTER_IS_TABLE_LAYOUT_CLASS
|
||||
CLUTTER_TABLE_LAYOUT_GET_CLASS
|
||||
|
||||
<SUBSECTION Private>
|
||||
ClutterTableLayoutPrivate
|
||||
clutter_table_layout_get_type
|
||||
</SECTION>
|
||||
|
||||
<SECTION>
|
||||
<FILE>clutter-animator</FILE>
|
||||
<TITLE>ClutterAnimator</TITLE>
|
||||
|
@ -56,6 +56,7 @@ clutter_shader_effect_get_type
|
||||
clutter_stage_get_type
|
||||
clutter_stage_manager_get_type
|
||||
clutter_state_get_type
|
||||
clutter_table_layout_get_type
|
||||
clutter_text_get_type
|
||||
clutter_texture_get_type
|
||||
clutter_timeline_get_type
|
||||
|
Reference in New Issue
Block a user