widgets

package
v0.1.1 Latest Latest
Warning

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

Go to latest
Published: Aug 24, 2023 License: MIT Imports: 12 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var (
	SCHEME_DEFAULT = "ws"
)

Functions

This section is empty.

Types

type Alert

type Alert struct {
	// contains filtered or unexported fields
}

func (*Alert) Alert

func (a *Alert) Alert(alert string)

type BookmarkForm

type BookmarkForm struct {
	// contains filtered or unexported fields
}

func (*BookmarkForm) Init

func (bf *BookmarkForm) Init(onSubmit func(model.Bookmark), onCancel func()) *widget.Form

func (*BookmarkForm) Reset

func (bf *BookmarkForm) Reset()

type ConnOptionsForm

type ConnOptionsForm struct {
	// contains filtered or unexported fields
}

func (*ConnOptionsForm) Disable

func (cof *ConnOptionsForm) Disable()

func (*ConnOptionsForm) Enable

func (cof *ConnOptionsForm) Enable()

func (*ConnOptionsForm) Init

func (cof *ConnOptionsForm) Init(callback func(model.Options)) *widget.Form

type MessageInput

type MessageInput struct {
	widget.Entry
	// contains filtered or unexported fields
}

func NewMessageInput

func NewMessageInput(callback func(string)) *MessageInput

func (*MessageInput) Clear

func (e *MessageInput) Clear()

func (*MessageInput) TypedKey

func (e *MessageInput) TypedKey(key *fyne.KeyEvent)

type OnEnter added in v0.1.1

type OnEnter func(string)

type WSUI

type WSUI struct {
	// contains filtered or unexported fields
}

func (*WSUI) AppendBookmark

func (ui *WSUI) AppendBookmark(bookmark model.Bookmark)

func (*WSUI) DeleteActiveBookmark

func (ui *WSUI) DeleteActiveBookmark()

func (*WSUI) MakeUI

func (ui *WSUI) MakeUI(win *fyne.Window, storedBookmarks []model.Bookmark) fyne.CanvasObject

func (*WSUI) SearchConnections

func (ui *WSUI) SearchConnections(term string)

Jump to

Keyboard shortcuts

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