Documentation ¶
Index ¶
Constants ¶
const BackupInstructionsPageID = "backup_instructions"
const BackupSuccessPageID = "backup_success"
const SaveSeedPageID = "save_seed"
const VerifySeedPageID = "verify_seed"
Variables ¶
This section is empty.
Functions ¶
This section is empty.
Types ¶
type BackupInstructionsPage ¶
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 ¶
func (pg *BackupInstructionsPage) Layout(gtx layout.Context) layout.Dimensions
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 ¶
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 D ¶
type D = layout.Dimensions
type SaveSeedPage ¶
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 ¶
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.