[关闭]
@zhongdao 2023-01-05T08:51:16.000000Z 字数 2329 阅读 414

golang 跨平台图形界面资料汇总

未分类


tutorial & demo

Fyne ( go跨平台GUI )中文文档-入门(一)
https://juejin.cn/post/7087845871777218567

https://developer.fyne.io/started/apprun

setup

https://developer.fyne.io/started/

windows

inno setup

mac

There are several options for setup programs for Mac. Some popular ones include:

Homebrew: This is a package manager for Mac that makes it easy to install and manage software from the command line.

MacPorts: This is another package manager for Mac that allows you to install and manage open-source software.

Installer VISE: This is a commercial installation package builder for Mac that allows you to create professional-quality installation packages for your software.

PackageMaker: This is a tool that is included with Xcode, Apple's development environment for Mac. It allows you to create installation packages for your Mac applications.

Ultimately, the best setup program for your needs will depend on the specific requirements of your project and your personal preferences.

fyne 中文支持

FYNE 解决 无法支持中文字体解决方法
https://blog.dbsgw.com/post-280.html

certinfo 修改

"github.com/grantae/certinfo"

certinfo.go
printName

  1. case 46:
  2. values = append(values, fmt.Sprintf("dnQualifier=%s", name.Value))

参考调研图形界面建议汇总

golang 写 gui 有什么包介绍谢谢? - 收发室柳大爷的回答 - 知乎
https://www.zhihu.com/question/268536384/answer/1215107185

golang做gui比较难驾驭。主要问题是gui的主线程锁定问题,winform里通过委托解决,qt有自己的信号槽,delphi里也有方案,唯独到golang这里麻烦。大部分用golang的用户,喜欢用golang的协程方式解决传统线程问题,但是这部分在用于gui的时候,会有驴唇不对马嘴的感觉,也能解决,但是需要比较深层的理解。
还有就是golang目前的设计重点还在后端,放前端露脸这种事,缺乏各种基础设施。目前还是要靠c做桥梁,因此产生的unsafe指针问题非常多。同理,跨平台也要有不同的编译工具链配合,那是另外一个很长很长的故事。一句话,golang做gui不比c/c++简单,甚至更麻烦,其余自行脑补。想省事,electron/js是个好主意,qt/c++也不错,不跨平台还有wpf/c#,不怕律师还有delphi,再不济lazarus/fpc也能凑合用,有钱有势搞javafx甚至swing也是自成一家,干嘛非得在golang树上吊死。

作者:收发室柳大爷
链接:https://www.zhihu.com/question/268536384/answer/1215107185
来源:知乎
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

如何从零开始写Golang的GUI框架? - 杨同学编程的回答 - 知乎
https://www.zhihu.com/question/481747277/answer/2520623992

我为一个项目选择了 GIU,但也可以选择 Gio。不过,我不能说我喜欢即时模式 GUI。如果您的 GUI 变得越来越复杂,您最终将编写额外的“布局缓冲区”胶水代码来维护状态。例如,我从 sqlite 数据库获取和设置数据,但 Giu 仅支持其文本字段中的字符串,因此我必须单独维护字符串并在正确的时间从数据库获取/更新。也许 GTK4 会是更好的选择,我正在考虑最终切换到它。未来我也可能会给Fyne第二次机会,但我的希望并不高。Fyne固执己见,但方向错误。我也在考虑为一个严肃的项目尝试Wails。对我来说,学习曲线会很长,因为我的网页设计知识来自 90 年代后期。然而,

作者:杨同学编程
链接:https://www.zhihu.com/question/481747277/answer/2520623992
来源:知乎
著作权归作者所有。商业转载请联系作者获得授权,非商业转载请注明出处。

2022年,开发独立 EXE 桌面应用程序,用什么语言、技术合适? - 是风动的回答 - 知乎
https://www.zhihu.com/question/547458931/answer/2618740386

添加新批注
在作者公开此批注前,只有你和作者可见。
回复批注