Fyne GoLang GUI BUTTON – Tutorial 4

class 4 fyne GoLang GUI Course BUTTON

package main
// importing fyne
import (
func main() {
// creating new app
a := app.New()
// New window
w := a.NewWindow("Here is my title for 4th tutorial")
// resizing my window
w.Resize(fyne.NewSize(400, 400))
// Now Its Time to use BUTTONs
// First value is button name
// 2nd value is any function
btn := widget.NewButton("button Name", func() {
// Our is ready
fmt.Println("Here is Go Button")
// using our button on
// Running app
Download Code


Tony BB

TonyBB is a Coach , marketer, hypnotist and a founder of RSKVF Production who specializes in providing simple, affordable, and easy to use solutions for Life.

Click Here to Leave a Comment Below 0 comments

Leave a Reply: