ui

package
v0.6.1 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2024 License: MIT Imports: 26 Imported by: 0

Documentation

Overview

Package ui contains the user interface.

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type NodePlus

type NodePlus struct {
	jsondocument.Node
	UID string
}

type TreeNode added in v0.5.0

type TreeNode struct {
	widget.BaseWidget
	// contains filtered or unexported fields
}

TreeNode represents a node in JSON document tree.

func NewTreeNode added in v0.5.0

func NewTreeNode() *TreeNode

NewTreeNode returns a new instance of the TreeNode widget.

func (*TreeNode) CreateRenderer added in v0.5.0

func (n *TreeNode) CreateRenderer() fyne.WidgetRenderer

func (*TreeNode) Set added in v0.5.0

func (n *TreeNode) Set(key string, value string, importance widget.Importance)

type UI

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

UI represents the user interface of this app.

func NewUI

func NewUI(app fyne.App) (*UI, error)

NewUI returns a new UI object.

func (*UI) ShowAndRun

func (u *UI) ShowAndRun(path string)

ShowAndRun shows the main window and runs the app. This method is blocking.

Jump to

Keyboard shortcuts

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