ColumnLayout Class
Describes a column layout for preview widgets.
Item Index
Methods
Methods
add_column
(
-
widget_ids
Adds a new column and assigns widgets to it.
Parameters:
-
widget_ids
ObjectColumnLayout expects exactly the number of columns passed to the constructor to be created with the add_column method.
column
(
-
index
Retrieve the list of widgets for given column.
Parameters:
-
index
ObjectThe index of a column.
Returns:
The widget identifiers for the given column index.
number_of_columns
()
Get the number of columns expected by this layout as specified in the constructor.
Returns:
The number of columns expected by this layout.
size
()
Get the current number of columns in this layout.
Returns:
The number of columns added with add_column()