fyne

package
v0.9.6 Latest Latest
Warning

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

Go to latest
Published: Feb 14, 2022 License: MIT Imports: 8 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

View Source
var Index = &ice.Context{Name: "fyne", Help: "fyne",
	Configs: map[string]*ice.Config{},
	Commands: map[string]*ice.Command{
		"field": {Name: "field", Help: "field", Hand: func(m *ice.Message, c *ice.Context, key string, arg ...string) {
			if len(arg) == 0 {
				arg = append(arg, "space")
			}
			newField(m, kit.Select("contexts", m.Option("title"))).update(m.Cmd(arg))
		}},
		"hide": {Name: "hide", Help: "hide", Hand: func(m *ice.Message, c *ice.Context, key string, arg ...string) {
			field := m.Optionv("field").(*Field)
			field.w.Hide()
		}},
		"close": {Name: "close", Help: "close", Hand: func(m *ice.Message, c *ice.Context, key string, arg ...string) {
			field := m.Optionv("field").(*Field)
			field.w.Close()
		}},
	},
}

Functions

This section is empty.

Types

type Board

type Board struct {
	*widget.ScrollContainer
	// contains filtered or unexported fields
}

func (*Board) MinSize

func (board *Board) MinSize() fyne.Size

type Field

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

func (*Field) KeyDown

func (field *Field) KeyDown(key *fyne.KeyEvent)

type Label

type Label struct {
	*widget.Label
	// contains filtered or unexported fields
}

func (*Label) MinSize

func (label *Label) MinSize() fyne.Size

Jump to

Keyboard shortcuts

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