Documentation ¶
Index ¶
Constants ¶
This section is empty.
Variables ¶
This section is empty.
Functions ¶
func LabelColor ¶
func LabelColor(c *fyne.Container) *fyne.Container
Top label background used on dApp tabs
Types ¶
type DeroAmts ¶
type DeroAmts struct { xwidget.NumericalEntry Prefix string Increment float64 Decimal uint }
func NewDeroEntry ¶
Create new numerical entry with increment change on up or down key stroke
- If entry does not require prefix, pass ""
- Increment and Decimal for entry input control
type DeroRpcEntries ¶
type DeroRpcEntries struct { Container *fyne.Container Daemon *widget.SelectEntry Wallet *widget.SelectEntry Auth *widget.Entry Balance *canvas.Text Button *widget.Button Disconnect *widget.Check Offset int // contains filtered or unexported fields }
func NewHorizontalEntries ¶
func NewHorizontalEntries(tag string, offset int) *DeroRpcEntries
Create a horizontal layout container with entries for daemon, wallet and user:pass
- Objects bound to dReams rpc Daemon and Wallet vars with disconnect control
- Balance canvas to display wallet balance
- Button for OnTapped func()
- Offset of 1 puts entries on trailing edge
func NewVerticalEntries ¶
func NewVerticalEntries(tag string, offset int) *DeroRpcEntries
Create a vertical layout container with entries for daemon, wallet and user:pass
- Objects bound to dReams rpc Daemon and Wallet vars with disconnect control
- Balance canvas to display wallet balance
- Button for OnTapped func()
- Offset of 1 puts entries on top edge
func (*DeroRpcEntries) AddDaemonOptions ¶
func (d *DeroRpcEntries) AddDaemonOptions(new_opts []string)
Add new options to default daemon rpc entry
func (*DeroRpcEntries) RefreshBalance ¶
func (d *DeroRpcEntries) RefreshBalance()
Refresh Balance of DeroRpcEntries
- Gets balance from rpc.Wallet.Balance
Click to show internal directories.
Click to hide internal directories.