Documentation ¶
Index ¶
- Constants
- func DisableLog()
- func UseLogger(logger slog.Logger)
- type C
- type D
- type SendPage
- type Window
- func (win *Window) BackupPage(c pageCommon) layout.Widget
- func (win *Window) CreateRestorePage(common pageCommon) layout.Widget
- func (win *Window) Loading(gtx layout.Context)
- func (win *Window) Loop(shutdown chan int)
- func (win *Window) OverviewPage(c pageCommon) layout.Widget
- func (win *Window) ReceivePage(common pageCommon) layout.Widget
- func (win *Window) SendPage(common pageCommon) layout.Widget
- func (win *Window) SignMessagePage(common pageCommon) layout.Widget
- func (win *Window) TransactionPage(common pageCommon) layout.Widget
- func (win *Window) TransactionsPage(common pageCommon) layout.Widget
- func (win *Window) VerifyMessagePage(c pageCommon) layout.Widget
- func (win *Window) WalletAccountPage(common pageCommon) layout.Widget
- func (win *Window) WalletPage(common pageCommon) layout.Widget
- func (win *Window) WalletPassphrasePage(common pageCommon) layout.Widget
- type WriteClipboard
Constants ¶
View Source
const PageCreateRestore = "createrestore"
View Source
const PageOverview = "overview"
View Source
const PageReceive = "receive"
View Source
const (
PageSeedBackup = "seedbackup"
)
View Source
const (
PageSend = "send"
)
View Source
const PageSignMessage = "sign_message"
View Source
const PageTransactionDetails = "transactiondetails"
View Source
const PageTransactions = "transactions"
View Source
const PageVerifyMessage = "verifymessage"
View Source
const PageWallet = "wallet"
View Source
const PageWalletAccounts = "walletAccounts"
View Source
const PageWalletPassphrase = "walletPassphrase"
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 D ¶
type D = layout.Dimensions
type SendPage ¶
type SendPage struct { LastTradeRate string // contains filtered or unexported fields }
type Window ¶
type Window struct {
// contains filtered or unexported fields
}
Window represents the app window (and UI in general). There should only be one. Window uses an internal state of booleans to determine what the window is currently displaying.
func CreateWindow ¶
func CreateWindow(wal *wallet.Wallet, decredIcons map[string]image.Image, collection []text.FontFace) (*Window, error)
CreateWindow creates and initializes a new window with start as the first page displayed. Should never be called more than once as it calls app.NewWindow() which does not support being called more than once.
func (*Window) BackupPage ¶
func (*Window) CreateRestorePage ¶
Loading lays out the loading widget with a faded background
func (*Window) OverviewPage ¶
func (*Window) ReceivePage ¶
func (*Window) SignMessagePage ¶
func (*Window) TransactionPage ¶
func (*Window) TransactionsPage ¶
func (*Window) VerifyMessagePage ¶
func (*Window) WalletAccountPage ¶
func (*Window) WalletPage ¶
func (*Window) WalletPassphrasePage ¶
type WriteClipboard ¶
type WriteClipboard struct {
Text string
}
Source Files ¶
Click to show internal directories.
Click to hide internal directories.