func (w *StatusbarWidget) Status(message string, loading bool) func() {
	_, done := eventing.SendStatusEvent(eventing.StatusEvent{
		Message:    message,
		InProgress: loading,
		Timeout:    time.Duration(time.Second * 3),
	})
	return done
}
// Status updates the message in the status bar and whether to show loading indicator
Status updates the message in the status bar and whether to show loading indicator
// Status updates the message in the status bar and whether to show loading indicator
func (w *StatusbarWidget) Status(message string, loading bool) func() {
	_, done := eventing.SendStatusEvent(eventing.StatusEvent{
		Message:    message,
		InProgress: loading,
		Timeout:    time.Duration(time.Second * 3),
	})
	return done
}
func ( w * StatusbarWidget ) Status ( message string , loading bool ) func ( ) { _ , done := eventing . SendStatusEvent ( eventing . StatusEvent { Message : message , InProgress : loading , Timeout : time . Duration ( time . Second * 3 ) , } ) return done }
Status updates the message in the status bar and whether to show loading indicator
Status updates the message in the status bar and whether to show loading indicator