component

package
v0.0.0-...-bf1bca9 Latest Latest
Warning

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

Go to latest
Published: Jun 13, 2023 License: BSD-3-Clause Imports: 33 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

func Basename

func Basename() string

Basename is current file basename provider, like `basename(__FILE__)` of PHP.

func Current

func Current() fyne.CanvasObject

func CurrentDir

func CurrentDir() string

Dir is current directory provider, like `__DIR__` of PHP.

func CurrentFile

func CurrentFile() string

File is current file name provider, like `__FILE__` of PHP.

func CurrentFunc

func CurrentFunc() string

Func is current function name provider, like `__FUNCTION__` of PHP.

func CurrentLine

func CurrentLine() int

Line is current line provider, like `__LINE__` of PHP.

func CyyList

func CyyList(data []string) *widget.List

CyyList 根据传入的字符串slice data构建一个列表控件

func FileTree

func FileTree(root string, fn func(uid widget.TreeNodeID)) *widget.Tree

func NewOpenFile

func NewOpenFile(data binding.String, lbl string, filters []string,
	w fyne.Window) *fyne.Container

bdFilePath := binding.NewString() filters:=[]string{".jpg",".jpeg",".png"} filters:=[]string{".zip",".rar",".tar"} openFile := NewOpenFile(bdFilePath,filters w)

func NewOpenFolder

func NewOpenFolder(data binding.String, lbl string, w fyne.Window) *fyne.Container

bdFolderPath := binding.NewString() openFolder := NewOpenFolder(outData, w)

func Shuerte

func Shuerte() fyne.CanvasObject

func StarLight

func StarLight() fyne.CanvasObject

func SudokGo

func SudokGo(win fyne.Window) fyne.CanvasObject
	win.SetIcon(sudokuIcon)
	win.SetContent(content)
	win.ShowAndRun()
}

Types

type Page

type Page struct {
	Name     string
	Date     time.Time
	Contents string
	IsDraft  bool
}

Jump to

Keyboard shortcuts

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