0f78f06610
The following functionalities are added to configure aerc ui styles. - Read stylesets from file with very basic fnmatch wildcard matching - Add default styleset - Support different stylesets as part of UiConfig allowing contextual styles. - Move widgets/ui elements to use the stylesets. - Add configuration manual for the styleset
15 lines
364 B
Go
15 lines
364 B
Go
package widgets
|
|
|
|
import (
|
|
"time"
|
|
)
|
|
|
|
type TabHost interface {
|
|
BeginExCommand(cmd string)
|
|
SetStatus(status string) *StatusMessage
|
|
SetError(err string) *StatusMessage
|
|
PushStatus(text string, expiry time.Duration) *StatusMessage
|
|
PushError(text string, expiry time.Duration) *StatusMessage
|
|
PushSuccess(text string, expiry time.Duration) *StatusMessage
|
|
Beep()
|
|
}
|