zui

package
v0.3.31 Latest Latest
Warning

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

Go to latest
Published: Feb 20, 2025 License: BSD-3-Clause Imports: 8 Imported by: 1

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func BuildMenu

func BuildMenu(opt interface{}) (response *fyne.Menu, items map[string]*fyne.MenuItem, err error)

func BuildMenuItem

func BuildMenuItem(options *zcommons.MenuItemOptions) (response *fyne.MenuItem)

func DefaultIcon

func DefaultIcon() fyne.Resource

func DefaultTrayIcon

func DefaultTrayIcon() fyne.Resource

func Emit

func Emit(events *gg_events.Emitter, once bool, name string, sender interface{}, args ...interface{})

func LoadResource

func LoadResource(data interface{}) (name string, response []byte, err error)

func MnuGetQuitItem

func MnuGetQuitItem(items ...interface{}) (response *fyne.MenuItem)

func MnuSetDisabled

func MnuSetDisabled(value bool, items ...interface{})

func NewDesktopUI

func NewDesktopUI() (response desktop.App)

func NewUI

func NewUI(appID string) (response fyne.App)

Types

type ZResource

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

func NewZResource

func NewZResource(source interface{}) (instance *ZResource, err error)

func (*ZResource) Content

func (instance *ZResource) Content() []byte

func (*ZResource) Name

func (instance *ZResource) Name() string

Jump to

Keyboard shortcuts

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