class documentation
class GridView(View): (source)
Known subclasses: fiftyone.operators.types.ButtonGroupView
, fiftyone.operators.types.HStackView
, fiftyone.operators.types.MenuView
, fiftyone.operators.types.VStackView
Constructor: GridView(**kwargs)
Displays properties of an object as a grid of components in horizontal or vertical orientation.
Note
Must be used with Object
properties.
Parameters | |
orientation | the orientation of the stack. Can be either "2d", "horizontal" or "vertical" |
gap | the gap between the components |
align | the alignment of the components. Can be either "left", "center", or "right" |
align | the alignment of the components. Can be either "top", "center", or "bottom" |
variant | the variant of the grid. Can be either "paper" or "outline" |
elevation | the elevation of the grid. Only applicable when variant="paper" |
Method | __init__ |
Undocumented |
Method | to |
Undocumented |
Instance Variable | align |
Undocumented |
Instance Variable | align |
Undocumented |
Instance Variable | container |
Undocumented |
Instance Variable | gap |
Undocumented |
Instance Variable | orientation |
Undocumented |
Inherited from View
:
Method | clone |
Undocumented |
Method | kwargs |
Undocumented |
Instance Variable | caption |
Undocumented |
Instance Variable | component |
Undocumented |
Instance Variable | components |
Undocumented |
Instance Variable | description |
Undocumented |
Instance Variable | label |
Undocumented |
Instance Variable | placeholder |
Undocumented |
Instance Variable | read |
Undocumented |
Instance Variable | space |
Undocumented |
Instance Variable | _kwargs |
Undocumented |
overrides
fiftyone.operators.types.View.to_json
overridden in
fiftyone.operators.types.ButtonGroupView
, fiftyone.operators.types.MenuView
, fiftyone.operators.types.VStackView
Undocumented