Documentation ¶
Index ¶
Constants ¶
const AccountDetailsPageID = "AccountDetails"
const (
CreateRestorePageID = "Restore"
)
const SignMessagePageID = "SignMessage"
const WalletPageID = components.WalletsPageID
const WalletSettingsPageID = "WalletSettings"
Variables ¶
This section is empty.
Functions ¶
func DisableLog ¶
func DisableLog()
DisableLog disables all library log output. Logging output is disabled by default until UseLogger is called.
Types ¶
type AcctDetailsPage ¶
func NewAcctDetailsPage ¶
func NewAcctDetailsPage(l *load.Load, account *dcrlibwallet.Account) *AcctDetailsPage
func (*AcctDetailsPage) HandleUserInteractions ¶
func (pg *AcctDetailsPage) 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 (*AcctDetailsPage) ID ¶
func (pg *AcctDetailsPage) 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 (*AcctDetailsPage) Layout ¶
func (pg *AcctDetailsPage) 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 (*AcctDetailsPage) OnNavigatedFrom ¶
func (pg *AcctDetailsPage) 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 (*AcctDetailsPage) OnNavigatedTo ¶
func (pg *AcctDetailsPage) 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 Restore ¶
func NewRestorePage ¶
func (*Restore) HandleUserInteractions ¶
func (pg *Restore) 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 (*Restore) ID ¶
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 (*Restore) Layout ¶
func (pg *Restore) 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 (*Restore) OnNavigatedFrom ¶
func (pg *Restore) 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 (*Restore) OnNavigatedTo ¶
func (pg *Restore) 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 SignMessagePage ¶
func NewSignMessagePage ¶
func NewSignMessagePage(l *load.Load, wallet *dcrlibwallet.Wallet) *SignMessagePage
func (*SignMessagePage) HandleUserInteractions ¶
func (pg *SignMessagePage) 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 (*SignMessagePage) ID ¶
func (pg *SignMessagePage) 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 (*SignMessagePage) Layout ¶
func (pg *SignMessagePage) 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 (*SignMessagePage) OnNavigatedFrom ¶
func (pg *SignMessagePage) 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 (*SignMessagePage) OnNavigatedTo ¶
func (pg *SignMessagePage) 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 WalletPage ¶
type WalletPage struct { *load.Load *listeners.TxAndBlockNotificationListener // contains filtered or unexported fields }
func NewWalletPage ¶
func NewWalletPage(l *load.Load) *WalletPage
func (*WalletPage) HandleUserInteractions ¶
func (pg *WalletPage) 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 (*WalletPage) ID ¶
func (pg *WalletPage) 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 (*WalletPage) Layout ¶
func (pg *WalletPage) 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. Layout lays out the widgets for the main wallets pg.
func (*WalletPage) OnNavigatedFrom ¶
func (pg *WalletPage) 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 (*WalletPage) OnNavigatedTo ¶
func (pg *WalletPage) 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 WalletSettingsPage ¶
func NewWalletSettingsPage ¶
func NewWalletSettingsPage(l *load.Load, wal *dcrlibwallet.Wallet) *WalletSettingsPage
func (*WalletSettingsPage) HandleUserInteractions ¶
func (pg *WalletSettingsPage) 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 (*WalletSettingsPage) ID ¶
func (pg *WalletSettingsPage) 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 (*WalletSettingsPage) Layout ¶
func (pg *WalletSettingsPage) 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 (*WalletSettingsPage) OnNavigatedFrom ¶
func (pg *WalletSettingsPage) 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 (*WalletSettingsPage) OnNavigatedTo ¶
func (pg *WalletSettingsPage) 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.