send

package
v1.7.0 Latest Latest
Warning

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

Go to latest
Published: May 10, 2022 License: ISC Imports: 24 Imported by: 0

Documentation

Index

Constants

View Source
const ModalSendConfirm = "send_confirm_modal"
View Source
const (
	PageID = "Send"
)
View Source
const UTXOPageID = "unspentTransactionOutput"

Variables

This section is empty.

Functions

This section is empty.

Types

type C

type C = layout.Context

type D

type D = layout.Dimensions

type Page

type Page struct {
	*load.Load
	// contains filtered or unexported fields
}

func NewSendPage

func NewSendPage(l *load.Load) *Page

func (*Page) HandleUserInteractions added in v1.7.0

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) ID

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

func (pg *Page) 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 (*Page) OnDarkModeChanged added in v1.7.0

func (pg *Page) OnDarkModeChanged(isDarkModeOn bool)

OnDarkModeChanged is triggered whenever the dark mode setting is changed to enable restyling UI elements where necessary. Satisfies the load.DarkModeChangeHandler interface.

func (*Page) OnNavigatedFrom added in v1.7.0

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 added in v1.7.0

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.

func (*Page) RestyleWidgets added in v1.7.0

func (pg *Page) RestyleWidgets()

RestyleWidgets restyles select widgets to match the current theme. This is especially necessary when the dark mode setting is changed.

type UTXOPage

type UTXOPage struct {
	*load.Load
	// contains filtered or unexported fields
}

func NewUTXOPage

func NewUTXOPage(l *load.Load, account *dcrlibwallet.Account) *UTXOPage

func (*UTXOPage) HandleUserInteractions added in v1.7.0

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

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

func (pg *UTXOPage) 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 (*UTXOPage) OnNavigatedFrom added in v1.7.0

func (pg *UTXOPage) 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 (*UTXOPage) OnNavigatedTo added in v1.7.0

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