accounts

package
v1.1.2 Latest Latest
Warning

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

Go to latest
Published: Mar 21, 2024 License: ISC Imports: 17 Imported by: 0

Documentation

Index

Constants

View Source
const AccountDetailsPageID = "AccountDetails"
View Source
const AccountsPageID = "Accounts"
View Source
const BTCAccountDetailsPageID = "BTCAccountDetails"
View Source
const LTCAccountDetailsPageID = "LTCAccountDetails"

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.

func UseLogger

func UseLogger(logger slog.Logger)

UseLogger uses a specified Logger to output package logging info.

Types

type AcctDetailsPage

type AcctDetailsPage struct {
	*load.Load
	// GenericPageModal defines methods such as ID() and OnAttachedToNavigator()
	// that helps this Page satisfy the app.Page interface. It also defines
	// helper methods for accessing the PageNavigator that displayed this page
	// and the root WindowNavigator.
	*app.GenericPageModal
	// contains filtered or unexported fields
}

func NewDCRAcctDetailsPage

func NewDCRAcctDetailsPage(l *load.Load, wallet sharedW.Asset, account *sharedW.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) Layout

func (pg *AcctDetailsPage) Layout(gtx C) D

Layout draws the page UI components into the provided C 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 BTCAcctDetailsPage

type BTCAcctDetailsPage struct {
	*load.Load
	// GenericPageModal defines methods such as ID() and OnAttachedToNavigator()
	// that helps this Page satisfy the app.Page interface. It also defines
	// helper methods for accessing the PageNavigator that displayed this page
	// and the root WindowNavigator.
	*app.GenericPageModal
	// contains filtered or unexported fields
}

func NewBTCAcctDetailsPage

func NewBTCAcctDetailsPage(l *load.Load, wallet sharedW.Asset, account *sharedW.Account) *BTCAcctDetailsPage

func (*BTCAcctDetailsPage) HandleUserInteractions

func (pg *BTCAcctDetailsPage) 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 (*BTCAcctDetailsPage) Layout

func (pg *BTCAcctDetailsPage) Layout(gtx C) D

Layout draws the page UI components into the provided C to be eventually drawn on screen. Part of the load.Page interface.

func (*BTCAcctDetailsPage) OnNavigatedFrom

func (pg *BTCAcctDetailsPage) 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 (*BTCAcctDetailsPage) OnNavigatedTo

func (pg *BTCAcctDetailsPage) 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 LTCAcctDetailsPage

type LTCAcctDetailsPage struct {
	*load.Load
	// GenericPageModal defines methods such as ID() and OnAttachedToNavigator()
	// that helps this Page satisfy the app.Page interface. It also defines
	// helper methods for accessing the PageNavigator that displayed this page
	// and the root WindowNavigator.
	*app.GenericPageModal
	// contains filtered or unexported fields
}

func NewLTCAcctDetailsPage

func NewLTCAcctDetailsPage(l *load.Load, wallet sharedW.Asset, account *sharedW.Account) *LTCAcctDetailsPage

func (*LTCAcctDetailsPage) HandleUserInteractions

func (pg *LTCAcctDetailsPage) 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 (*LTCAcctDetailsPage) Layout

func (pg *LTCAcctDetailsPage) Layout(gtx C) D

Layout draws the page UI components into the provided C to be eventually drawn on screen. Part of the load.Page interface.

func (*LTCAcctDetailsPage) OnNavigatedFrom

func (pg *LTCAcctDetailsPage) 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 (*LTCAcctDetailsPage) OnNavigatedTo

func (pg *LTCAcctDetailsPage) 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 Page

type Page struct {
	*load.Load
	// GenericPageModal defines methods such as ID() and OnAttachedToNavigator()
	// that helps this Page satisfy the app.Page interface. It also defines
	// helper methods for accessing the PageNavigator that displayed this page
	// and the root WindowNavigator.
	*app.GenericPageModal
	// contains filtered or unexported fields
}

func NewAccountPage

func NewAccountPage(l *load.Load, wallet sharedW.Asset) *Page

func (*Page) HandleUserInteractions

func (pg *Page) 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 (*Page) Layout

func (pg *Page) 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 (*Page) OnNavigatedFrom

func (pg *Page) 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 (*Page) OnNavigatedTo

func (pg *Page) 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