class documentation
Represents a button in a View
.
Examples:
import fiftyone.operators.types as types iconButtonView = types.IconButtonView( icon="waving_hand", operator="print_stdout", params={"msg": "Hi!"}, ) inputs = types.Object() inputs.view("icon_btn", iconButtonView)
Parameters | |
icon | a icon for the button. See https://marella.me/material-icons/demo/ |
variant | the optional variant of the icon button. Can be "round", "square", "outlined", or "contained". |
label | a label for the button |
description | a description for the button |
caption | a caption for the button |
operator | the name of the operator to execute when the button is clicked |
params | the parameters to pass to the operator |
href | the URL to navigate to when the button is clicked |
Method | __init__ |
Undocumented |
Inherited from Button
:
Method | to |
Undocumented |
Instance Variable | prompt |
Undocumented |
Inherited from View
(via Button
):
Method | clone |
Undocumented |
Method | kwargs |
Undocumented |
Instance Variable | component |
Undocumented |
Instance Variable | components |
Undocumented |
Instance Variable | container |
Undocumented |
Instance Variable | placeholder |
Undocumented |
Instance Variable | read |
Undocumented |
Instance Variable | space |
Undocumented |
Instance Variable | _kwargs |
Undocumented |