Documentation
¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func Layout ¶
func Layout(gtx layout.Context, theme *chapartheme.Theme) layout.Dimensions
func ToggleVisibility ¶
func ToggleVisibility()
Types ¶
type Notification ¶
type NotificationType ¶
type NotificationType string
const ( NotificationTypeInfo NotificationType = "info" NotificationTypeWarn NotificationType = "warn" NotificationTypeError NotificationType = "error" )
type Notifications ¶
type Notifications struct {
// contains filtered or unexported fields
}
var DefaultNotifications *Notifications
func New ¶
func New(w *app.Window) *Notifications
func (*Notifications) Layout ¶
func (n *Notifications) Layout(gtx layout.Context, theme *chapartheme.Theme) layout.Dimensions
Click to show internal directories.
Click to hide internal directories.