Plank.DockElement.on_hovered – plank Reference Manual
on_hovered
Description:
protected
virtual
AnimationType
on_hovered
()
Called when an item gets hovered.
Returns:
which type of animation to trigger