1 min read

Last week, Wednesday marked the first major milestone for Fyne, which is a cross-platform GUI written in Go. Fyne 1.0 uses OpenGL to provide cross-platform graphics and the entire toolkit is developed using scalable graphics.

The Fyne toolkit communicates with operating system graphics using OpenGL, which is supported on almost all desktop and laptop systems. To do this, it relies on the built-in functionality of Cgo, the C language bridge for Go.

For packaging, it uses fyne package command to generate and package all the required metadata for an application to distribute on macOS, Linux, or Windows. By default, it will build an application bundle for the current platform, which can be used in part of a cross-compilation workflow.

What’s new in Fyne 1.0?

  • Canvas API (rect, line, circle, text, image)
  • Widget API (box, button, check, entry, form, group, hyperlink, icon, label, progress bar, radio, scroller, tabs, and toolbar)
  • Light and dark themes
  • Pointer, key and shortcut APIs (generic and desktop extension)
  • OpenGL driver for Linux, macOS, and Windows
  • Tools for embedding data and packaging releases

Currently, the release only supports desktop applications. For more info, read Fyne’s blog. You may also check out Hands-On GUI Application Development in Go to learn more about Go programming.

Read Next

Introducing Web High-Level Shading Language (WHLSL): A graphics shading language for WebGPU

State of Go February 2019 – Golang developments report for this month released

Golang just celebrated its ninth anniversary

Content Marketing Editor at Packt Hub. I blog about new and upcoming tech trends ranging from Data science, Web development, Programming, Cloud & Networking, IoT, Security and Game development.