seedbackup

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: ISC Imports: 13 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
	// contains filtered or unexported fields
}

func NewBackupInstructionsPage

func NewBackupInstructionsPage(l *load.Load, wallet *dcrlibwallet.Wallet) *BackupInstructionsPage

func (*BackupInstructionsPage) HandleUserInteractions added in v1.7.0

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) ID

func (pg *BackupInstructionsPage) ID() string

ID is a unique string that identifies the page and may be used to differentiate this page from other pages. Part of the load.Page interface.

func (*BackupInstructionsPage) Layout

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 added in v1.7.0

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 added in v1.7.0

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
	// contains filtered or unexported fields
}

func NewBackupSuccessPage

func NewBackupSuccessPage(l *load.Load) *BackupSuccessPage

func (*BackupSuccessPage) HandleUserInteractions added in v1.7.0

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) ID

func (pg *BackupSuccessPage) ID() string

ID is a unique string that identifies the page and may be used to differentiate this page from other pages. 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 added in v1.7.0

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 added in v1.7.0

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 SaveSeedPage

type SaveSeedPage struct {
	*load.Load
	// contains filtered or unexported fields
}

func NewSaveSeedPage

func NewSaveSeedPage(l *load.Load, wallet *dcrlibwallet.Wallet) *SaveSeedPage

func (*SaveSeedPage) HandleUserInteractions added in v1.7.0

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) ID

func (pg *SaveSeedPage) ID() string

ID is a unique string that identifies the page and may be used to differentiate this page from other pages. 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 added in v1.7.0

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 added in v1.7.0

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
	// contains filtered or unexported fields
}

func NewVerifySeedPage

func NewVerifySeedPage(l *load.Load, wallet *dcrlibwallet.Wallet, seed string) *VerifySeedPage

func (*VerifySeedPage) HandleUserInteractions added in v1.7.0

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) ID

func (pg *VerifySeedPage) ID() string

ID is a unique string that identifies the page and may be used to differentiate this page from other pages. 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 added in v1.7.0

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 added in v1.7.0

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