fynex

package module
v0.0.0-...-e5e3ac4 Latest Latest
Warning

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

Go to latest
Published: Nov 2, 2023 License: MIT Imports: 5 Imported by: 0

README

fynex

some custome widget, layout and theme font support unicode

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type DesktopApp

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

DesktopApp DesktopApp

func NewDesktopApp

func NewDesktopApp(opt *DesktopAppOptions) *DesktopApp

NewDesktopApp 创建一个新的桌面app,需要在main()函数的最开始就调用,否则,创建页面控件的时候会报错

func (*DesktopApp) MainApp

func (d *DesktopApp) MainApp() fyne.App

MainApp MainApp

func (*DesktopApp) MainWindow

func (d *DesktopApp) MainWindow() fyne.Window

MainWindow MainWindow

func (*DesktopApp) ShowAndRun

func (d *DesktopApp) ShowAndRun(obj fyne.CanvasObject)

ShowAndRun ShowAndRun

type DesktopAppOptions

type DesktopAppOptions struct {
	AppID         string
	WindowTitle   string
	Icon          *fyne.StaticResource
	Size          fyne.Size
	EnableTray    bool
	TrayMenuItems []*fyne.MenuItem
}

DesktopAppOptions DesktopAppOptions

Directories

Path Synopsis
Package layoutx custom layout
Package layoutx custom layout
Package themex 支持中文的主题
Package themex 支持中文的主题
Package widgetx 自定义组件
Package widgetx 自定义组件

Jump to

Keyboard shortcuts

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