go-wayland:Wayland在Go中的实现

时间:2021-03-20 21:41:47
【文件属性】:
文件名称:go-wayland:Wayland在Go中的实现
文件大小:122KB
文件格式:ZIP
更新时间:2021-03-20 21:41:47
Go Wayland在Go中的实现 该模块包含Wayland协议的纯Go实现。当前仅支持wayland-client功能。 使用从协议XML文件生成Go代码。 要加载游标,纯Go中的wayland-cursor和xcursor最小端口分别位于和 。 为了演示该模块的功能, 包含一个简单的图像查看器。它演示了显示*窗口,窗口大小,光标主题,指针和键盘的大小。因为它是纯Go语言,所以无需CGO即可进行编译。您可以使用以下命令进行尝试: CGO_ENABLED=0 go install github.com/rajveermalviya/go-wayland/examples/imageviewer@latest imageviewer file.jpg
【文件预览】:
go-wayland-main
----client()
--------doc.go(237B)
--------context.go(2KB)
--------client.go(217KB)
--------common.go(470B)
--------event.go(2KB)
--------request.go(2KB)
----unstable()
--------xdg-shell-v6()
--------fullscreen-shell-v1()
--------linux-dmabuf-v1()
--------xdg-decoration-v1()
----cmd()
--------go-wayland-scanner()
----internal()
--------tempfile()
--------log()
--------byteorder()
--------swizzle()
----stable()
--------xdg-shell()
--------presentation-time()
--------viewporter()
----LICENSE(1KB)
----examples()
--------imageviewer()
----go.sum(4KB)
----README.md(871B)
----cursor()
--------err.go(418B)
--------xcursor()
--------cursor.go(5KB)
----go.mod(323B)

网友评论