Documentation ¶
Overview ¶
* Meilindex - mail indexing and search tool. * Copyright (C) 2020 Tero Vierimaa * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. * *
* Meilindex - mail indexing and search tool. * Copyright (C) 2020 Tero Vierimaa * * This program is free software: you can redistribute it and/or modify * it under the terms of the GNU Affero General Public License as published by * the Free Software Foundation, either version 3 of the License, or * (at your option) any later version. * * This program is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the * GNU Affero General Public License for more details. * * You should have received a copy of the GNU Affero General Public License * along with this program. If not, see <https://www.gnu.org/licenses/>. * *
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type Help ¶
func (*Help) GetFocusable ¶
func (*Help) InputHandler ¶
func (*Help) SetDoneFunc ¶
func (h *Help) SetDoneFunc(doneFunc func())
func (*Help) SetVisible ¶
type MessageList ¶
type MessageList struct { *twidgets.ScrollList // contains filtered or unexported fields }
func NewMessageList ¶
func NewMessageList(selectFunc func(m *indexer.Mail)) *MessageList
func (*MessageList) AddMessage ¶
func (m *MessageList) AddMessage(index int, mail *indexer.Mail)
func (*MessageList) Clear ¶
func (m *MessageList) Clear()
type MessageShort ¶
func NewMessageShort ¶
func NewMessageShort(index int, mail *indexer.Mail) *MessageShort
func (*MessageShort) SetSelected ¶
func (m *MessageShort) SetSelected(selected twidgets.Selection)
type QueryInput ¶
func NewQueryInput ¶
func NewQueryInput(query func(query, filter string)) *QueryInput
type Settings ¶
func NewSettings ¶
func NewSettings() *Settings
func (*Settings) GetFocusable ¶
func (*Settings) InputHandler ¶
func (*Settings) SetDoneFunc ¶
func (s *Settings) SetDoneFunc(doneFunc func())