vispy.scene.widgets.grid.
Grid
Bases: vispy.scene.widgets.widget.Widget
vispy.scene.widgets.widget.Widget
Widget that automatically sets the position and size of child Widgets to proportionally divide its internal area into a grid.
Spacing between widgets.
Keyword arguments to pass to Widget.
add_grid
Create a new Grid and add it as a child widget.
The row in which to add the widget (0 is the topmost row)
The column in which to add the widget (0 is the leftmost column)
The number of rows to be occupied by this widget. Default is 1.
The number of columns to be occupied by this widget. Default is 1.
Keyword arguments to pass to the new Grid.
add_view
Create a new ViewBox and add it as a child widget.
Keyword arguments to pass to ViewBox.
add_widget
Add a new widget to this grid. This will cause other widgets in the grid to be resized to make room for the new widget. Can be used to replace a widget as well
The Widget to add. New widget is constructed if widget is None.
parameters sent to the new Widget that is constructed if widget is None
Notes
The widget’s parent is automatically set to this grid, and all other parent(s) are removed.
grid_size
layout_array
next_row
remove_widget
Remove a widget from this grid
The Widget to remove
resize_widget
Resize a widget in the grid to new dimensions.
The widget to resize
The number of rows to be occupied by this widget.
The number of columns to be occupied by this widget.