Documentation ¶
Index ¶
- Constants
- Variables
- func DisableLog()
- func EditorsNotEmpty(editors ...*widget.Editor) bool
- func GenerateRandomNumber() int
- func GetAbsolutePath() (string, error)
- func HandleSubmitEvent(editors ...*widget.Editor) bool
- func NewStartPage(l *load.Load) load.Page
- func UseLogger(logger slog.Logger)
- type AboutPage
- type AcctDetailsPage
- type C
- type CreateRestore
- type D
- type DebugPage
- type HelpPage
- type LicensePage
- type LogPage
- type MainPage
- func (mp *MainPage) CalculateTotalWalletsBalance() (dcrutil.Amount, error)
- func (mp *MainPage) Debug(debugInfo *dcrlibwallet.DebugInfo)
- func (mp *MainPage) Handle()
- func (mp *MainPage) ID() string
- func (mp *MainPage) Layout(gtx layout.Context) layout.Dimensions
- func (mp *MainPage) LayoutTopBar(gtx layout.Context) layout.Dimensions
- func (mp *MainPage) LayoutUSDBalance(gtx layout.Context) layout.Dimensions
- func (mp *MainPage) OnAccountMixerEnded(walletID int)
- func (mp *MainPage) OnAccountMixerStarted(walletID int)
- func (mp *MainPage) OnAddressDiscoveryProgress(addressDiscoveryProgress *dcrlibwallet.AddressDiscoveryProgressReport)
- func (mp *MainPage) OnBlockAttached(walletID int, blockHeight int32)
- func (mp *MainPage) OnBlocksRescanEnded(walletID int, err error)
- func (mp *MainPage) OnBlocksRescanProgress(progress *dcrlibwallet.HeadersRescanProgressReport)
- func (mp *MainPage) OnBlocksRescanStarted(walletID int)
- func (mp *MainPage) OnCFiltersFetchProgress(cfiltersFetchProgress *dcrlibwallet.CFiltersFetchProgressReport)
- func (mp *MainPage) OnClose()
- func (mp *MainPage) OnHeadersFetchProgress(headersFetchProgress *dcrlibwallet.HeadersFetchProgressReport)
- func (mp *MainPage) OnHeadersRescanProgress(headersRescanProgress *dcrlibwallet.HeadersRescanProgressReport)
- func (mp *MainPage) OnNewProposal(proposal *dcrlibwallet.Proposal)
- func (mp *MainPage) OnPeerConnectedOrDisconnected(numberOfConnectedPeers int32)
- func (mp *MainPage) OnProposalVoteFinished(proposal *dcrlibwallet.Proposal)
- func (mp *MainPage) OnProposalVoteStarted(proposal *dcrlibwallet.Proposal)
- func (mp *MainPage) OnProposalsSynced()
- func (mp *MainPage) OnResume()
- func (mp *MainPage) OnSyncCanceled(willRestart bool)
- func (mp *MainPage) OnSyncCompleted()
- func (mp *MainPage) OnSyncEndedWithError(err error)
- func (mp *MainPage) OnSyncStarted(wasRestarted bool)
- func (mp *MainPage) OnTransaction(transaction string)
- func (mp *MainPage) OnTransactionConfirmed(walletID int, hash string, blockHeight int32)
- func (mp *MainPage) StartSyncing()
- func (mp *MainPage) UnlockWalletForSyncing(wal *dcrlibwallet.Wallet)
- func (mp *MainPage) UpdateBalance()
- func (mp *MainPage) UpdateNotification(signal interface{})
- type MorePage
- type NavHandler
- type OverviewPage
- type PrivacyPage
- type ReceivePage
- type SecurityToolsPage
- type SettingsPage
- type SignMessagePage
- type StatPage
- type TransactionDetailsPage
- type TransactionsPage
- type ValidateAddressPage
- type VerifyMessagePage
- type WalletPage
- type WalletSettingsPage
Constants ¶
View Source
const ( LogPageID = "Log" LogOffset = 24000 )
View Source
const ()
View Source
const AboutPageID = "About"
View Source
const AccountDetailsPageID = "AccountDetails"
View Source
const (
CreateRestorePageID = "CreateRestore"
)
View Source
const DebugPageID = "Debug"
View Source
const (
DefaultExchangeValue = "none"
)
View Source
const HelpPageID = "Help"
View Source
const LicensePageID = "License"
View Source
const MainPageID = "Main"
View Source
const MorePageID = "More"
View Source
const OverviewPageID = "Overview"
View Source
const PrivacyPageID = "Privacy"
View Source
const ReceivePageID = "Receive"
View Source
const SecurityToolsPageID = "SecurityTools"
View Source
const SettingsPageID = "Settings"
View Source
const SignMessagePageID = "SignMessage"
View Source
const StartPageID = "start_page"
View Source
const StatisticsPageID = "Statistics"
View Source
const TransactionDetailsPageID = "TransactionDetails"
View Source
const TransactionsPageID = "Transactions"
View Source
const ValidateAddressPageID = "ValidateAddress"
View Source
const VerifyMessagePageID = "VerifyMessage"
View Source
const WalletPageID = components.WalletsPageID
View Source
const WalletSettingsPageID = "WalletSettings"
Variables ¶
View Source
var ()
View Source
var (
MaxWidth = components.MaxWidth
)
Functions ¶
func DisableLog ¶
func DisableLog()
DisableLog disables all library log output. Logging output is disabled by default until UseLogger is called.
func EditorsNotEmpty ¶
func GenerateRandomNumber ¶
func GenerateRandomNumber() int
func GetAbsolutePath ¶
func HandleSubmitEvent ¶
Types ¶
type AboutPage ¶
func NewAboutPage ¶
type AcctDetailsPage ¶
func NewAcctDetailsPage ¶
func NewAcctDetailsPage(l *load.Load, account *dcrlibwallet.Account) *AcctDetailsPage
func (*AcctDetailsPage) Handle ¶
func (pg *AcctDetailsPage) Handle()
func (*AcctDetailsPage) ID ¶
func (pg *AcctDetailsPage) ID() string
func (*AcctDetailsPage) Layout ¶
func (pg *AcctDetailsPage) Layout(gtx layout.Context) layout.Dimensions
func (*AcctDetailsPage) OnClose ¶
func (pg *AcctDetailsPage) OnClose()
func (*AcctDetailsPage) OnResume ¶
func (pg *AcctDetailsPage) OnResume()
type CreateRestore ¶
func NewCreateRestorePage ¶
func NewCreateRestorePage(l *load.Load) *CreateRestore
Loading lays out the loading widget with a faded background
func (*CreateRestore) Handle ¶
func (pg *CreateRestore) Handle()
func (*CreateRestore) ID ¶
func (pg *CreateRestore) ID() string
func (*CreateRestore) Layout ¶
func (pg *CreateRestore) Layout(gtx layout.Context) layout.Dimensions
func (*CreateRestore) OnClose ¶
func (pg *CreateRestore) OnClose()
func (*CreateRestore) OnResume ¶
func (pg *CreateRestore) OnResume()
type D ¶
type D = layout.Dimensions
type DebugPage ¶
func NewDebugPage ¶
type HelpPage ¶
func NewHelpPage ¶
type LicensePage ¶
func NewLicensePage ¶
func NewLicensePage(l *load.Load) *LicensePage
func (*LicensePage) Handle ¶
func (pg *LicensePage) Handle()
func (*LicensePage) ID ¶
func (pg *LicensePage) ID() string
func (*LicensePage) Layout ¶
func (pg *LicensePage) Layout(gtx layout.Context) layout.Dimensions
main page layout
func (*LicensePage) OnClose ¶
func (pg *LicensePage) OnClose()
func (*LicensePage) OnResume ¶
func (pg *LicensePage) OnResume()
type LogPage ¶
func NewLogPage ¶
type MainPage ¶
func NewMainPage ¶
func (*MainPage) CalculateTotalWalletsBalance ¶
func (*MainPage) Debug ¶
func (mp *MainPage) Debug(debugInfo *dcrlibwallet.DebugInfo)
func (*MainPage) LayoutTopBar ¶
func (mp *MainPage) LayoutTopBar(gtx layout.Context) layout.Dimensions
func (*MainPage) LayoutUSDBalance ¶
func (mp *MainPage) LayoutUSDBalance(gtx layout.Context) layout.Dimensions
func (*MainPage) OnAccountMixerEnded ¶
func (*MainPage) OnAccountMixerStarted ¶
Account mixer
func (*MainPage) OnAddressDiscoveryProgress ¶
func (mp *MainPage) OnAddressDiscoveryProgress(addressDiscoveryProgress *dcrlibwallet.AddressDiscoveryProgressReport)
func (*MainPage) OnBlockAttached ¶
func (*MainPage) OnBlocksRescanEnded ¶
func (*MainPage) OnBlocksRescanProgress ¶
func (mp *MainPage) OnBlocksRescanProgress(progress *dcrlibwallet.HeadersRescanProgressReport)
func (*MainPage) OnBlocksRescanStarted ¶
func (*MainPage) OnCFiltersFetchProgress ¶
func (mp *MainPage) OnCFiltersFetchProgress(cfiltersFetchProgress *dcrlibwallet.CFiltersFetchProgressReport)
func (*MainPage) OnHeadersFetchProgress ¶
func (mp *MainPage) OnHeadersFetchProgress(headersFetchProgress *dcrlibwallet.HeadersFetchProgressReport)
func (*MainPage) OnHeadersRescanProgress ¶
func (mp *MainPage) OnHeadersRescanProgress(headersRescanProgress *dcrlibwallet.HeadersRescanProgressReport)
func (*MainPage) OnNewProposal ¶
func (mp *MainPage) OnNewProposal(proposal *dcrlibwallet.Proposal)
func (*MainPage) OnPeerConnectedOrDisconnected ¶
func (*MainPage) OnProposalVoteFinished ¶
func (mp *MainPage) OnProposalVoteFinished(proposal *dcrlibwallet.Proposal)
func (*MainPage) OnProposalVoteStarted ¶
func (mp *MainPage) OnProposalVoteStarted(proposal *dcrlibwallet.Proposal)
func (*MainPage) OnSyncCanceled ¶
func (*MainPage) OnSyncCompleted ¶
func (mp *MainPage) OnSyncCompleted()
func (*MainPage) OnSyncEndedWithError ¶
func (*MainPage) OnSyncStarted ¶
func (*MainPage) OnTransaction ¶
func (*MainPage) OnTransactionConfirmed ¶
func (*MainPage) StartSyncing ¶
func (mp *MainPage) StartSyncing()
func (*MainPage) UnlockWalletForSyncing ¶
func (mp *MainPage) UnlockWalletForSyncing(wal *dcrlibwallet.Wallet)
func (*MainPage) UpdateBalance ¶
func (mp *MainPage) UpdateBalance()
func (*MainPage) UpdateNotification ¶
func (mp *MainPage) UpdateNotification(signal interface{})
UpdateNotification sends notification to the notification channel depending on which channel the page uses
type MorePage ¶
func NewMorePage ¶
type NavHandler ¶
type NavHandler struct {}
type OverviewPage ¶
func NewOverviewPage ¶
func NewOverviewPage(l *load.Load) *OverviewPage
func (*OverviewPage) Handle ¶
func (pg *OverviewPage) Handle()
func (*OverviewPage) ID ¶
func (pg *OverviewPage) ID() string
func (*OverviewPage) Layout ¶
func (pg *OverviewPage) Layout(gtx layout.Context) layout.Dimensions
Layout lays out the entire content for overview pg.
func (*OverviewPage) OnClose ¶
func (pg *OverviewPage) OnClose()
func (*OverviewPage) OnResume ¶
func (pg *OverviewPage) OnResume()
type PrivacyPage ¶
func NewPrivacyPage ¶
func NewPrivacyPage(l *load.Load, wallet *dcrlibwallet.Wallet) *PrivacyPage
func (*PrivacyPage) Handle ¶
func (pg *PrivacyPage) Handle()
func (*PrivacyPage) ID ¶
func (pg *PrivacyPage) ID() string
func (*PrivacyPage) Layout ¶
func (pg *PrivacyPage) Layout(gtx layout.Context) layout.Dimensions
func (*PrivacyPage) OnClose ¶
func (pg *PrivacyPage) OnClose()
func (*PrivacyPage) OnResume ¶
func (pg *PrivacyPage) OnResume()
type ReceivePage ¶
func NewReceivePage ¶
func NewReceivePage(l *load.Load) *ReceivePage
func (*ReceivePage) Handle ¶
func (pg *ReceivePage) Handle()
func (*ReceivePage) ID ¶
func (pg *ReceivePage) ID() string
func (*ReceivePage) Layout ¶
func (pg *ReceivePage) Layout(gtx layout.Context) layout.Dimensions
func (*ReceivePage) OnClose ¶
func (pg *ReceivePage) OnClose()
func (*ReceivePage) OnResume ¶
func (pg *ReceivePage) OnResume()
type SecurityToolsPage ¶
func NewSecurityToolsPage ¶
func NewSecurityToolsPage(l *load.Load) *SecurityToolsPage
func (*SecurityToolsPage) Handle ¶
func (pg *SecurityToolsPage) Handle()
func (*SecurityToolsPage) ID ¶
func (pg *SecurityToolsPage) ID() string
func (*SecurityToolsPage) Layout ¶
func (pg *SecurityToolsPage) Layout(gtx layout.Context) layout.Dimensions
main settings layout
func (*SecurityToolsPage) OnClose ¶
func (pg *SecurityToolsPage) OnClose()
func (*SecurityToolsPage) OnResume ¶
func (pg *SecurityToolsPage) OnResume()
type SettingsPage ¶
func NewSettingsPage ¶
func NewSettingsPage(l *load.Load) *SettingsPage
func (*SettingsPage) Handle ¶
func (pg *SettingsPage) Handle()
func (*SettingsPage) ID ¶
func (pg *SettingsPage) ID() string
func (*SettingsPage) Layout ¶
func (pg *SettingsPage) Layout(gtx layout.Context) layout.Dimensions
func (*SettingsPage) OnClose ¶
func (pg *SettingsPage) OnClose()
func (*SettingsPage) OnResume ¶
func (pg *SettingsPage) OnResume()
type SignMessagePage ¶
func NewSignMessagePage ¶
func NewSignMessagePage(l *load.Load, wallet *dcrlibwallet.Wallet) *SignMessagePage
func (*SignMessagePage) Handle ¶
func (pg *SignMessagePage) Handle()
func (*SignMessagePage) ID ¶
func (pg *SignMessagePage) ID() string
func (*SignMessagePage) Layout ¶
func (pg *SignMessagePage) Layout(gtx layout.Context) layout.Dimensions
func (*SignMessagePage) OnClose ¶
func (pg *SignMessagePage) OnClose()
func (*SignMessagePage) OnResume ¶
func (pg *SignMessagePage) OnResume()
type StatPage ¶
func NewStatPage ¶
type TransactionDetailsPage ¶
func NewTransactionDetailsPage ¶
func NewTransactionDetailsPage(l *load.Load, transaction *dcrlibwallet.Transaction) *TransactionDetailsPage
func (*TransactionDetailsPage) Handle ¶
func (pg *TransactionDetailsPage) Handle()
func (*TransactionDetailsPage) ID ¶
func (pg *TransactionDetailsPage) ID() string
func (*TransactionDetailsPage) Layout ¶
func (pg *TransactionDetailsPage) Layout(gtx layout.Context) layout.Dimensions
func (*TransactionDetailsPage) OnClose ¶
func (pg *TransactionDetailsPage) OnClose()
func (*TransactionDetailsPage) OnResume ¶
func (pg *TransactionDetailsPage) OnResume()
type TransactionsPage ¶
func NewTransactionsPage ¶
func NewTransactionsPage(l *load.Load) *TransactionsPage
func (*TransactionsPage) Handle ¶
func (pg *TransactionsPage) Handle()
func (*TransactionsPage) ID ¶
func (pg *TransactionsPage) ID() string
func (*TransactionsPage) Layout ¶
func (pg *TransactionsPage) Layout(gtx layout.Context) layout.Dimensions
func (*TransactionsPage) OnClose ¶
func (pg *TransactionsPage) OnClose()
func (*TransactionsPage) OnResume ¶
func (pg *TransactionsPage) OnResume()
type ValidateAddressPage ¶
func NewValidateAddressPage ¶
func NewValidateAddressPage(l *load.Load) *ValidateAddressPage
func (*ValidateAddressPage) Handle ¶
func (pg *ValidateAddressPage) Handle()
func (*ValidateAddressPage) ID ¶
func (pg *ValidateAddressPage) ID() string
func (*ValidateAddressPage) Layout ¶
func (pg *ValidateAddressPage) Layout(gtx layout.Context) layout.Dimensions
func (*ValidateAddressPage) OnClose ¶
func (pg *ValidateAddressPage) OnClose()
func (*ValidateAddressPage) OnResume ¶
func (pg *ValidateAddressPage) OnResume()
type VerifyMessagePage ¶
func NewVerifyMessagePage ¶
func NewVerifyMessagePage(l *load.Load) *VerifyMessagePage
func (*VerifyMessagePage) Handle ¶
func (pg *VerifyMessagePage) Handle()
func (*VerifyMessagePage) ID ¶
func (pg *VerifyMessagePage) ID() string
func (*VerifyMessagePage) Layout ¶
func (pg *VerifyMessagePage) Layout(gtx layout.Context) layout.Dimensions
func (*VerifyMessagePage) OnClose ¶
func (pg *VerifyMessagePage) OnClose()
func (*VerifyMessagePage) OnResume ¶
func (pg *VerifyMessagePage) OnResume()
type WalletPage ¶
func NewWalletPage ¶
func NewWalletPage(l *load.Load) *WalletPage
func (*WalletPage) Handle ¶
func (pg *WalletPage) Handle()
func (*WalletPage) ID ¶
func (pg *WalletPage) ID() string
func (*WalletPage) Layout ¶
func (pg *WalletPage) Layout(gtx layout.Context) layout.Dimensions
Layout lays out the widgets for the main wallets pg.
func (*WalletPage) OnClose ¶
func (pg *WalletPage) OnClose()
func (*WalletPage) OnResume ¶
func (pg *WalletPage) OnResume()
type WalletSettingsPage ¶
func NewWalletSettingsPage ¶
func NewWalletSettingsPage(l *load.Load, wal *dcrlibwallet.Wallet) *WalletSettingsPage
func (*WalletSettingsPage) Handle ¶
func (pg *WalletSettingsPage) Handle()
func (*WalletSettingsPage) ID ¶
func (pg *WalletSettingsPage) ID() string
func (*WalletSettingsPage) Layout ¶
func (pg *WalletSettingsPage) Layout(gtx layout.Context) layout.Dimensions
func (*WalletSettingsPage) OnClose ¶
func (pg *WalletSettingsPage) OnClose()
func (*WalletSettingsPage) OnResume ¶
func (pg *WalletSettingsPage) OnResume()
Source Files ¶
- about_page.go
- account_details_page.go
- create_restore_page.go
- debug_page.go
- help_page.go
- license_page.go
- listeners.go
- log.go
- log_page.go
- main_page.go
- more_page.go
- overview_page.go
- page.go
- privacy_page.go
- receive_page.go
- security_tools_page.go
- settings_page.go
- sign_message_page.go
- start_page.go
- statistics_page.go
- transaction_details_page.go
- transactions_page.go
- utils.go
- validate_address.go
- verify_message_page.go
- wallet_page.go
- wallet_settings_page.go
Click to show internal directories.
Click to hide internal directories.