bottom_bar

package
v0.0.0-...-a44c12d Latest Latest
Warning

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

Go to latest
Published: Apr 25, 2024 License: MIT Imports: 21 Imported by: 0

Documentation

Index

Constants

View Source
const (
	BUTTON_WALLET   = "wallet"
	BUTTON_NODE     = "node"
	BUTTON_TXS      = "txs"
	BUTTON_CLOSE    = "close"
	BUTTON_SETTINGS = "settings"
)

Variables

This section is empty.

Functions

This section is empty.

Types

type BottomBar

type BottomBar struct {
	ButtonWallet   *BottomBarButton
	ButtonTxs      *BottomBarButton
	ButtonSettings *BottomBarButton
	ButtonClose    *BottomBarButton
	ButtonNode     *BottomBarButton
	// contains filtered or unexported fields
}
var Instance *BottomBar

func LoadInstance

func LoadInstance() *BottomBar

func (*BottomBar) Layout

func (b *BottomBar) Layout(gtx layout.Context, th *material.Theme) layout.Dimensions

func (*BottomBar) SetButtonActive

func (b *BottomBar) SetButtonActive(tag interface{})

type BottomBarButton

type BottomBarButton struct {
	Button *components.Button
}

func NewBottomBarButton

func NewBottomBarButton(button *components.Button) *BottomBarButton

func (*BottomBarButton) Layout

type BottomBarTopShadow

type BottomBarTopShadow struct{}

func (BottomBarTopShadow) Layout

func (b BottomBarTopShadow) Layout(gtx layout.Context)

type BottomBarTopWallet

type BottomBarTopWallet struct{}

func (BottomBarTopWallet) Layout

func (b BottomBarTopWallet) Layout(gtx layout.Context, th *material.Theme)

Jump to

Keyboard shortcuts

? : This menu
/ : Search site
f or F : Jump to
y or Y : Canonical URL