class documentation

class PanelRef(object): (source)

Constructor: PanelRef(ctx)

View In Hierarchy

Class representing a panel.

Parameters
ctxan fiftyone.operators.executor.ExecutionContext
Method __init__ Undocumented
Method close Closes the panel.
Method get_state Gets some panel state.
Method set_data Sets some panel data.
Method set_state Sets some panel state.
Method set_title Sets the title of the panel.
Property data Panel data.
Property id Panel ID.
Property state Panel state.
Instance Variable _ctx Undocumented
Instance Variable _data Undocumented
Instance Variable _state Undocumented
def __init__(self, ctx): (source)

Undocumented

def close(self): (source)

Closes the panel.

def get_state(self, key, default=None): (source)

Gets some panel state.

Parameters
keythe key or "nested.key.path"
default:Nonea default value if the key is not found
Returns
the state value
def set_data(self, key, value=None): (source)

Sets some panel data.

Parameters
keya key, "nested.key.path", or dict mapping multiple possibly-nested keys to values
value:Nonethe value, if key is a string
def set_state(self, key, value=None): (source)

Sets some panel state.

Parameters
keya key, "nested.key.path", or dict mapping multiple possibly-nested keys to values
value:Nonethe value, if key is a string
def set_title(self, title): (source)

Sets the title of the panel.

Parameters
titlea title string

Panel data.

Panel state.

Undocumented

Undocumented

Undocumented