Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func OnClickLogin ¶
func OnClickLogin(ctx *app.AppContext, password string, loginWindow fyne.Window)
func RefreshListData ¶
func RefreshListData(ctx *amnesiaApp.AppContext)
Types ¶
type ConfirmView ¶
type ConfirmView struct { Window fyne.Window OnYes func() OnNo func() Container *fyne.Container }
func NewConfirmView ¶
func NewConfirmView(ctx *amnesiaApp.AppContext, msg string) *ConfirmView
func (*ConfirmView) SetOnNoEvent ¶
func (v *ConfirmView) SetOnNoEvent(callback func())
func (*ConfirmView) SetOnYesEvent ¶
func (v *ConfirmView) SetOnYesEvent(callback func())
type ListView ¶
type ListView struct { Window fyne.Window Size fyne.Size Container *fyne.Container }
func NewListView ¶
func NewListView(ctx *amnesiaApp.AppContext) ListView
type LoginView ¶
type LoginView struct { Window fyne.Window Container *fyne.Container }
func NewLoginView ¶
func NewLoginView(ctx *app.AppContext) LoginView
type ResourceAddView ¶
type ResourceAddView struct { Title string // allow us to have some action in view itself. OnButtonClick func() Button *widget.Button Container *fyne.Container }
func NewResourceAddView ¶
func NewResourceAddView(ctx *amnesiaApp.AppContext, previousView ListView) *ResourceAddView
func (*ResourceAddView) SetOnButtonClickEvent ¶
func (v *ResourceAddView) SetOnButtonClickEvent(callback func())
type ResourceEditView ¶
type ResourceEditView struct { Title string Container *fyne.Container }
func NewResourceEditView ¶
func NewResourceEditView( ctx *amnesiaApp.AppContext, token string, resource models.Resource, previousView ResourceView, listView ListView, ) ResourceEditView
type ResourceView ¶
type ResourceView struct { Title string Container *fyne.Container }
func NewResourceView ¶
func NewResourceView(ctx *amnesiaApp.AppContext, token string, resource models.Resource, previousView ListView) ResourceView
Click to show internal directories.
Click to hide internal directories.