seedbackup

package
v1.1.4 Latest Latest
Warning

This package is not in the latest version of its module.

Go to latest
Published: May 14, 2024 License: ISC Imports: 20 Imported by: 0

Documentation

Index

Constants

View Source
const BackupInstructionsPageID = "backup_instructions"
View Source
const BackupSuccessPageID = "backup_success"
View Source
const (
	SaveSeedPageID = "save_seed"
)
View Source
const VerifySeedPageID = "verify_seed"

Variables

This section is empty.

Functions

This section is empty.

Types

type BackupInstructionsPage

type BackupInstructionsPage struct {
	*load.Load
	// GenericPageModal defines methods such as ID() and OnAttachedToNavigator()
	// that helps this Page satisfy the app.Page interface. It also defines
	// helper methods for accessing the PageNavigator that displayed this page
	// and the root WindowNavigator.
	*app.GenericPageModal
	// contains filtered or unexported fields
}

func NewBackupInstructionsPage

func NewBackupInstructionsPage(l *load.Load, wallet sharedW.Asset, redirect Redirectfunc) *BackupInstructionsPage

func (*BackupInstructionsPage) HandleUserInteractions

func (pg *BackupInstructionsPage) HandleUserInteractions()

HandleUserInteractions is called just before Layout() to determine if any user interaction recently occurred on the page and may be used to update the page's UI components shortly before they are displayed. Part of the load.Page interface.

func (*BackupInstructionsPage) Layout

func (pg *BackupInstructionsPage) Layout(gtx C) D

Layout draws the page UI components into the provided layout context to be eventually drawn on screen. Part of the load.Page interface.

func (*BackupInstructionsPage) OnNavigatedFrom

func (pg *BackupInstructionsPage) OnNavigatedFrom()

OnNavigatedFrom is called when the page is about to be removed from the displayed window. This method should ideally be used to disable features that are irrelevant when the page is NOT displayed. NOTE: The page may be re-displayed on the app's window, in which case OnNavigatedTo() will be called again. This method should not destroy UI components unless they'll be recreated in the OnNavigatedTo() method. Part of the load.Page interface.

func (*BackupInstructionsPage) OnNavigatedTo

func (pg *BackupInstructionsPage) OnNavigatedTo()

OnNavigatedTo is called when the page is about to be displayed and may be used to initialize page features that are only relevant when the page is displayed. Part of the load.Page interface.

type BackupSuccessPage

type BackupSuccessPage struct {
	*load.Load
	// GenericPageModal defines methods such as ID() and OnAttachedToNavigator()
	// that helps this Page satisfy the app.Page interface. It also defines
	// helper methods for accessing the PageNavigator that displayed this page
	// and the root WindowNavigator.
	*app.GenericPageModal
	// contains filtered or unexported fields
}

func NewBackupSuccessPage

func NewBackupSuccessPage(l *load.Load, redirect Redirectfunc) *BackupSuccessPage

func (*BackupSuccessPage) HandleUserInteractions

func (pg *BackupSuccessPage) HandleUserInteractions()

HandleUserInteractions is called just before Layout() to determine if any user interaction recently occurred on the page and may be used to update the page's UI components shortly before they are displayed. Part of the load.Page interface.

func (*BackupSuccessPage) Layout

func (pg *BackupSuccessPage) Layout(gtx C) D

Layout draws the page UI components into the provided layout context to be eventually drawn on screen. Part of the load.Page interface.

func (*BackupSuccessPage) OnNavigatedFrom

func (pg *BackupSuccessPage) OnNavigatedFrom()

OnNavigatedFrom is called when the page is about to be removed from the displayed window. This method should ideally be used to disable features that are irrelevant when the page is NOT displayed. NOTE: The page may be re-displayed on the app's window, in which case OnNavigatedTo() will be called again. This method should not destroy UI components unless they'll be recreated in the OnNavigatedTo() method. Part of the load.Page interface.

func (*BackupSuccessPage) OnNavigatedTo

func (pg *BackupSuccessPage) OnNavigatedTo()

OnNavigatedTo is called when the page is about to be displayed and may be used to initialize page features that are only relevant when the page is displayed. Part of the load.Page interface.

type C

type C = layout.Context

type D

type D = layout.Dimensions

type Redirectfunc

type Redirectfunc func(load *load.Load, pg app.WindowNavigator)

type SaveSeedPage

type SaveSeedPage struct {
	*load.Load
	// GenericPageModal defines methods such as ID() and OnAttachedToNavigator()
	// that helps this Page satisfy the app.Page interface. It also defines
	// helper methods for accessing the PageNavigator that displayed this page
	// and the root WindowNavigator.
	*app.GenericPageModal
	// contains filtered or unexported fields
}

func NewSaveSeedPage

func NewSaveSeedPage(l *load.Load, wallet sharedW.Asset, redirect Redirectfunc) *SaveSeedPage

func (*SaveSeedPage) HandleUserInteractions

func (pg *SaveSeedPage) HandleUserInteractions()

HandleUserInteractions is called just before Layout() to determine if any user interaction recently occurred on the page and may be used to update the page's UI components shortly before they are displayed. Part of the load.Page interface.

func (*SaveSeedPage) Layout

func (pg *SaveSeedPage) Layout(gtx C) D

Layout draws the page UI components into the provided layout context to be eventually drawn on screen. Part of the load.Page interface.

func (*SaveSeedPage) OnNavigatedFrom

func (pg *SaveSeedPage) OnNavigatedFrom()

OnNavigatedFrom is called when the page is about to be removed from the displayed window. This method should ideally be used to disable features that are irrelevant when the page is NOT displayed. NOTE: The page may be re-displayed on the app's window, in which case OnNavigatedTo() will be called again. This method should not destroy UI components unless they'll be recreated in the OnNavigatedTo() method. Part of the load.Page interface.

func (*SaveSeedPage) OnNavigatedTo

func (pg *SaveSeedPage) OnNavigatedTo()

OnNavigatedTo is called when the page is about to be displayed and may be used to initialize page features that are only relevant when the page is displayed. Part of the load.Page interface.

type VerifySeedPage

type VerifySeedPage struct {
	*load.Load
	// GenericPageModal defines methods such as ID() and OnAttachedToNavigator()
	// that helps this Page satisfy the app.Page interface. It also defines
	// helper methods for accessing the PageNavigator that displayed this page
	// and the root WindowNavigator.
	*app.GenericPageModal
	// contains filtered or unexported fields
}

func NewVerifySeedPage

func NewVerifySeedPage(l *load.Load, wallet sharedW.Asset, seed string, redirect Redirectfunc) *VerifySeedPage

func (*VerifySeedPage) HandleUserInteractions

func (pg *VerifySeedPage) HandleUserInteractions()

HandleUserInteractions is called just before Layout() to determine if any user interaction recently occurred on the page and may be used to update the page's UI components shortly before they are displayed. Part of the load.Page interface.

func (*VerifySeedPage) Layout

func (pg *VerifySeedPage) Layout(gtx C) D

Layout draws the page UI components into the provided layout context to be eventually drawn on screen. Part of the load.Page interface.

func (*VerifySeedPage) OnNavigatedFrom

func (pg *VerifySeedPage) OnNavigatedFrom()

OnNavigatedFrom is called when the page is about to be removed from the displayed window. This method should ideally be used to disable features that are irrelevant when the page is NOT displayed. NOTE: The page may be re-displayed on the app's window, in which case OnNavigatedTo() will be called again. This method should not destroy UI components unless they'll be recreated in the OnNavigatedTo() method. Part of the load.Page interface.

func (*VerifySeedPage) OnNavigatedTo

func (pg *VerifySeedPage) OnNavigatedTo()

OnNavigatedTo is called when the page is about to be displayed and may be used to initialize page features that are only relevant when the page is displayed. Part of the load.Page interface.

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL