windows

package
v0.0.0-...-f588240 Latest Latest
Warning

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

Go to latest
Published: Jan 7, 2026 License: MIT Imports: 14 Imported by: 0

Documentation

Index

Constants

This section is empty.

Variables

This section is empty.

Functions

This section is empty.

Types

type Provider

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

Provider Windows 平台提供者实现

func (*Provider) AppDir

func (_this *Provider) AppDir() string

获取应用程序目录

func (*Provider) Exit

func (_this *Provider) Exit(code int)

退出应用程序

func (*Provider) GetScreen

func (_this *Provider) GetScreen() fm.Screen

获取屏幕信息

func (*Provider) Init

func (_this *Provider) Init() *Provider

初始化提供者

func (*Provider) ModifierKeys

func (_this *Provider) ModifierKeys() map[fm.Keys]bool

获取修饰键状态

func (*Provider) MouseIsDown

func (_this *Provider) MouseIsDown() map[fm.MouseButtons]bool

获取鼠标按键按下状态

func (*Provider) MouseLocation

func (_this *Provider) MouseLocation() fm.Point

获取鼠标位置

func (*Provider) NewControl

func (_this *Provider) NewControl() br.Control

创建新控件

func (*Provider) NewForm

func (_this *Provider) NewForm(param br.FormParam) br.Form

创建新窗体

func (*Provider) NewMsgBox

func (_this *Provider) NewMsgBox() br.MsgBox

创建新消息框

func (*Provider) RunMain

func (_this *Provider) RunMain(form br.Form)

运行主窗体消息循环

func (*Provider) SetIcon

func (_this *Provider) SetIcon(file string)

设置应用程序图标

func (*Provider) SetIconData

func (_this *Provider) SetIconData(iconData []byte)

设置图标数据

func (*Provider) SetMinSize

func (_this *Provider) SetMinSize(width, height int)

SetMinSize 设置全局窗口最小尺寸

Directories

Path Synopsis

Jump to

Keyboard shortcuts

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