struct

Obsctl::TUI::PointerTarget

Inherits Struct < Value < Object

Where a pointer landed on the dashboard.

index is the item under the pointer, or nil for a click that hit a panel but not one of its rows -- a border, a title, or empty space below the last item. That still identifies a panel, which is enough to move focus.

Constructors

new(panel : FocusPanel, index : Int32 | Nil = nil, on_mute_control : Bool = false)
Source

Instance methods

clone
Source
copy_with(panel _panel = @panel, index _index = @index, on_mute_control _on_mute_control = @on_mute_control)
Source
index
on_mute_control
panel