Creates a new inspector action from a method and a content to be shown on the button.
The action name.
The action method.
A content to be shown on the button.
A layout to contain the button.
Optionaltooltip: stringA tooltip to be used on the button.
Activates or deactivates the underlying UI elements.
Disables or enables the underlying UI elements. Disabled elements cannot be interacted with and have a faded out appearance.
The InspectorAction class provides the UI representation for the InspectableAction.