Documentation ¶
Overview ¶
Package ui contains the code for rendering the UI.
Index ¶
- Constants
- func NewNonEmptyStringValidator() fyne.StringValidator
- func NewPositiveNumberValidator() fyne.StringValidator
- func NewUI(s *service.Service) *ui
- type MailRecipients
- func (rr *MailRecipients) AddFromEveEntity(e *model.EveEntity)
- func (rr *MailRecipients) AddFromText(s string)
- func (rr *MailRecipients) Size() int
- func (rr *MailRecipients) String() string
- func (rr *MailRecipients) ToEveEntitiesUnclean() []*model.EveEntity
- func (rr *MailRecipients) ToOptions() []string
Constants ¶
View Source
const ( CreateMessageNew = iota CreateMessageReply CreateMessageReplyAll CreateMessageForward )
Variables ¶
This section is empty.
Functions ¶
func NewNonEmptyStringValidator ¶
func NewNonEmptyStringValidator() fyne.StringValidator
func NewPositiveNumberValidator ¶
func NewPositiveNumberValidator() fyne.StringValidator
Types ¶
type MailRecipients ¶
type MailRecipients struct {
// contains filtered or unexported fields
}
A container holding all recipients in a mail
func NewMailRecipients ¶
func NewMailRecipients() *MailRecipients
func NewMailRecipientsFromEntities ¶
func NewMailRecipientsFromEntities(ee []*model.EveEntity) *MailRecipients
func NewMailRecipientsFromText ¶
func NewMailRecipientsFromText(t string) *MailRecipients
func (*MailRecipients) AddFromEveEntity ¶
func (rr *MailRecipients) AddFromEveEntity(e *model.EveEntity)
func (*MailRecipients) AddFromText ¶
func (rr *MailRecipients) AddFromText(s string)
func (*MailRecipients) Size ¶
func (rr *MailRecipients) Size() int
func (*MailRecipients) String ¶
func (rr *MailRecipients) String() string
func (*MailRecipients) ToEveEntitiesUnclean ¶
func (rr *MailRecipients) ToEveEntitiesUnclean() []*model.EveEntity
Returns the mail recipients as unclean EveEntity slice. ID will not be set. And some might not have a category.
func (*MailRecipients) ToOptions ¶
func (rr *MailRecipients) ToOptions() []string
Click to show internal directories.
Click to hide internal directories.