Action¶

See also

SAMSON API: sbgaction

class samson.GUI.Action.Action(*args, **kwargs)¶

Bases: pybind11_builtins.pybind11_object

This class is the base class for actions.

Overloaded function.

  1. __init__(self: samson.GUI.Action.Action, UUID: samson.Core.Container.UUID) -> None
  2. __init__(self: samson.GUI.Action.Action, text: str, UUID: samson.Core.Container.UUID) -> None
setup(self: samson.GUI.Action.Action, arg0: samson.DataModel.DataGraph.NodeIndexer) → bool¶

Initializes the action

trigger(self: samson.GUI.Action.Action) → None¶

Triggers the action

UUID¶

Returns the action’s UUID

favoriteFlag¶

The favorite flag

highlightingFlag¶

The highlighting flag

isDiscoverable¶

Returns true if can be discovered by the user

name¶

Returns the action’s class name