<story><title>Gotk3: GTK3 the Go way</title><url>https://blog.conformal.com/gotk3-gtk3-the-go-way/</url></story><parent_chain></parent_chain><comment><author>georgemcbay</author><text>Glad to see some more work being done on UI frameworks in Go, though I doubt this will end the splintered nature of all the different (mostly half-baked, honestly) options.&lt;p&gt;I&amp;#x27;ve personally been using a Qt5.1&amp;#x2F;QML based solution with a Go&amp;#x2F;CGO based QML plugin that acts as a bridge between QML and backend Go code.  It doesn&amp;#x27;t try to export much of Qt to Go, it basically expects you to write the UI logic in QML&amp;#x2F;QtQuick and then just use Go for the underlying app logic, using the QML plugin bridge to allow Go code to call QML functions and vice-versa.  In practice this works somewhat like writing a Go server that manages an HTML UI for doing browser-based UIs with a web-based RPC system, except I can write the UI code in QML which I find much preferable to HTML&amp;#x2F;JavaScript (variable binding Just Works, no need for frameworks like Angular, no need to mess with CSS, can efficiently pass around binary data in byte arrays easily, etc).&lt;p&gt;Currently my solution isn&amp;#x27;t even half-baked, I&amp;#x27;ve been implementing it to serve a specific app, and it currently has some dependencies that force it to be Windows only (these could be trivially removed, but doing so isn&amp;#x27;t important for my app).  I may share the code for this sometime in the future after it has matured a bit more, though there&amp;#x27;s really not that much to it.</text></comment>
<story><title>Gotk3: GTK3 the Go way</title><url>https://blog.conformal.com/gotk3-gtk3-the-go-way/</url></story><parent_chain></parent_chain><comment><author>yebyen</author><text>I am on ubuntu raring with the packaged golang and I can&amp;#x27;t compile your example code, copied directly out of &lt;i&gt;Sample Use&lt;/i&gt;.&lt;p&gt;&lt;pre&gt;&lt;code&gt;  kbarrett@vernon-linux:~&amp;#x2F;go-work&amp;#x2F;gotk$ go version
  go version go1.0.2
  kbarrett@vernon-linux:~&amp;#x2F;go-work&amp;#x2F;gotk$ go build
  # github.com&amp;#x2F;conformal&amp;#x2F;gotk3&amp;#x2F;glib
  glib.go:380[&amp;#x2F;tmp&amp;#x2F;go-build210667265&amp;#x2F;github.com&amp;#x2F;conformal&amp;#x2F;gotk3&amp;#x2F;glib&amp;#x2F;_obj&amp;#x2F;glib.cgo1.go:370]: function ends without a return statement
  glib.go:743[&amp;#x2F;tmp&amp;#x2F;go-build210667265&amp;#x2F;github.com&amp;#x2F;conformal&amp;#x2F;gotk3&amp;#x2F;glib&amp;#x2F;_obj&amp;#x2F;glib.cgo1.go:741]: function ends without a return statement
&lt;/code&gt;&lt;/pre&gt;
function ends without a return statement.  If this is a problem with my version of go, I will try and fetch the latest head from git.  I am interested!&lt;p&gt;sudo go get github.com&amp;#x2F;conformal&amp;#x2F;gotk3&amp;#x2F;gtk -- gives the same error.</text></comment>