What is the best Widget toolkit for Golang for MS Windows and Linux?

agolangf · · 523 次点击    
这是一个分享于 的资源,其中的信息可能已经有所发展或是发生改变。
<p>I am planning a project to create a GUI application that would run on MS Windows and Linux. In the past, I have used wxWidgets for this and coded in C++. I have looked at Golang for this, but there does not seem to be a Golang port of wxWidgets (there was an initial wxGo project, but it seems to be defunct).</p> <p>Should I: (a) try creating a Golang wxWidgets binding myself myself using SWIG, or (b) use another toolkit (Qt? GTK?) with Golang? (c) forget about Golang and use C++ (and the existing wxWidgets)? or (d) something else?</p> <hr/>**评论:**<br/><br/>SSoreil: <pre><p>gotk3 is workable, all the core stuff for building graphical interfaces are there.</p></pre>Snavelzalf: <pre><p><a href="https://github.com/oskca/sciter" rel="nofollow">https://github.com/oskca/sciter</a> is also very interesting</p></pre>martinellison: <pre><p>OK thanks, I wasn&#39;t really considering a browser-based solution. But I could be wrong -- is this really now on a par with native windowing for apps?</p></pre>SpaceDetective: <pre><p>There seems to be another active attempt at wxGo though it&#39;s not fully ready yet. Maybe help out there?<br/> <a href="https://github.com/dontpanic92/wxGo" rel="nofollow">https://github.com/dontpanic92/wxGo</a></p></pre>PsyWolf: <pre><p>I&#39;ve had luck with go-qml <a href="https://github.com/go-qml/qml" rel="nofollow">https://github.com/go-qml/qml</a></p></pre>martinellison: <pre><p>I am looking for a toolkit that:</p> <ul> <li>is ready for production use (not alpha-only)</li> <li>is actively maintained, and</li> <li>uses native widgets rather than a browser (HTML/CSS/Javascript).</li> </ul> <p>Looking at the responses so far, it seems that none of the described toolkits meet my needs.</p> <p>Thanks to everyone for responding.</p></pre>kpmy: <pre><p>github electron + go-rest-api + optional gopherjs-middleware</p></pre>martinellison: <pre><blockquote> <p>github electron </p> </blockquote> <p>OK, another browser-based solution.</p></pre>

入群交流(和以上内容无关):加入Go大咖交流群,或添加微信:liuxiaoyan-s 备注:入群;或加QQ群:692541889

523 次点击  
加入收藏 微博
暂无回复
添加一条新回复 (您需要 登录 后才能回复 没有账号 ?)
  • 请尽量让自己的回复能够对别人有帮助
  • 支持 Markdown 格式, **粗体**、~~删除线~~、`单行代码`
  • 支持 @ 本站用户;支持表情(输入 : 提示),见 Emoji cheat sheet
  • 图片支持拖拽、截图粘贴等方式上传