Documentation ¶
Index ¶
Constants ¶
const OverviewPageID = "Overview"
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 AppOverviewPage ¶
type AppOverviewPage struct { *load.Load *listeners.SyncProgressListener *listeners.TxAndBlockNotificationListener *listeners.ProposalNotificationListener *listeners.BlocksRescanProgressListener // contains filtered or unexported fields }
func NewOverviewPage ¶
func NewOverviewPage(l *load.Load) *AppOverviewPage
func (*AppOverviewPage) HandleUserInteractions ¶
func (pg *AppOverviewPage) 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 (*AppOverviewPage) ID ¶
func (pg *AppOverviewPage) 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 (*AppOverviewPage) Layout ¶
func (pg *AppOverviewPage) Layout(gtx layout.Context) layout.Dimensions
Layout draws the overview page UI components into the provided layout context to be eventually drawn on screen. Part of the load.Page interface.
func (*AppOverviewPage) OnNavigatedFrom ¶
func (pg *AppOverviewPage) 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 (*AppOverviewPage) OnNavigatedTo ¶
func (pg *AppOverviewPage) 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