Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Widget ¶
type Widget struct { view.MultiSourceWidget view.TextWidget Selected int Items []sdk.MonitoringStatusLine // contains filtered or unexported fields }
Widget define wtf widget to register widget later
func NewWidget ¶
func NewWidget(tviewApp *tview.Application, redrawChan chan bool, pages *tview.Pages, settings *Settings) *Widget
NewWidget creates a new instance of the widget
func (*Widget) GetItemCount ¶
GetItemCount returns the amount of line calculated so far as an int
func (*Widget) GetSelected ¶
GetSelected returns the index of the currently highlighted item as an int
func (*Widget) SetItemCount ¶
SetItemCount sets the amount of line throughout the widgets display creation
Click to show internal directories.
Click to hide internal directories.