Questions tagged [fyne]

Questions related to Fyne UI of the Go language. Also add [go] tag to your question.

Fyne is a UI toolkit and app API written in Go. It uses OpenGL (through the go-gl and go-glfw projects) to provide cross platform graphics.

138 questions
0
votes
1 answer

no required module provides package fyne.io/fyne/app: go.mod file not found in current directory or any parent directory on intel mac

I'm getting this error when trying 'go build' no required module provides package fyne.io/fyne/app: go.mod file not found in current directory or any parent directory; see 'go help modules' test.go:5:5: no required module provides package…
0
votes
1 answer

efficient canvas refresh with fyne golang

I have the code below, It shows a window, generate an image as raster and then update the window content with it. However, the setContent method is slow (with it I have 100% of 1 cpu core and almost 0 without). I wonder if there is anything to do to…
utopman
  • 581
  • 4
  • 13
0
votes
1 answer

Click event on container?

I have a container with columns, in each column a different container. Now I want to click on a container (column item) and do something with that container. Is it possible to create a click (tap) event on a container? Or (which I like to avoid if…
Mick dK
  • 657
  • 8
  • 14
0
votes
0 answers

Application lagging after a limit of widgets

I have a few widgets on my main view, but when I add a new one, it exceeds the "limit" of widgets until it starts lagging. I've tried using different goroutines but I think that in a gui application that's not the case. Here is a screenshot of…
0
votes
1 answer

How do I extend a widget.Button so that it has a new method ID in fyne?

I did this but it doesn't work type buttonWithID struct { widget.ListItemID } func newButtonWithID(button widget.Button) *buttonWithID { newButton := &buttonWithID{} newButton.ExtendBaseWidget(newButton) newButton.ListItemID = 0 …
0
votes
1 answer

How do I add tabs to a Fyne GUI in Go?

By tabs I mean something like this (the navigation bar on the left): I haven't found anything on the internet that demonstrates the proper use of tabs in a fyne application. Anyone knows?
0
votes
1 answer

Reverse Java bindings with gomobile and fyne.io

I have a fairly simple application that in theory should use Android Java API to get the location ( inspired by this answer ): package main import ( "Java/android/content/Context" "Java/android/location/LocationManager" …
jdevelop
  • 12,176
  • 10
  • 56
  • 112
0
votes
2 answers

Go and Fyne - Need response from dialog and enable/disable Submit button

Just starting to look at both Go and Fyne. After writing a test CRUD program using information obtained from examples, I need to solve the following: I need an initial Dialog or similar in order to allow selection of an existing record or "new" to…
Brian Oh
  • 9,604
  • 12
  • 49
  • 68
0
votes
2 answers

How did I manage to panic when using the Select Widget

New to Go and Fyne, and stumbling trying to get what I need out of Fyne. Sorry, this will be long. My problem is this. I’m writing a application that gets a list of commands from a server, telling it to create a series of widgets and display them.…
Scott M
  • 684
  • 7
  • 14
-1
votes
1 answer

Downloaded Fyne GUI package for GoLang but import statements won't work

I am using the Fyne GUI package for Go for a project. I imported the package using the import statements recommended on the Fyne website. import ( //…
-1
votes
1 answer

Is there any way I can make my Fyne application in go run by just following the steps in windows 10 because is throwing gcc executable not found

I am trying to build GUI application using Go Fyne Framework, I followed the guidelines that the docs provide, but I am missing something what it seems like is gcc but that doesn't have to be a problem bc I have downloaded and installed the msys2…
Aliayub Ali
  • 83
  • 1
  • 7
-1
votes
2 answers

Fyne testing: how do I test dialogs?

I want to make GUI testing, but investigation of test package and sources of fyne disappoints a lot. Could somebody please tell, is there a way to fill text fields of a created dialog and click 'ok' and 'cancel' buttons to check results? All docs I…
el fuego
  • 821
  • 9
  • 18
-1
votes
1 answer

Go fyne, i can't run a any simple program with fyne

I'm trying to get started with Fyne, I installed the gcc64 bit and go, but I don't know why when I run the command it shows me the problem: before that, I run the command go mod init test and go mod tidy and it created the .mod and .sum files. why…
elior sala
  • 43
  • 4
-1
votes
2 answers

Cannot use Go Commands of go libraries. [$GOBIN or $GOPATH problem, Windows]

When I get go libraries from github, I can use them in code. But I cannot use their commands. For example, after "go get annie", I try to use its command, e.g."annie bebe.be/be/bebe". But I get "The term 'annie' is not recognized as the name of a…
Bekassyl
  • 45
  • 7
-2
votes
2 answers

Is there a function in go for timing work

Pretty much a Go newby I want to write an work timing application in go probably using Fyne for the GUI Cannot find clear info on what Go Code / Library / Mod to use for doing work timers Add Timer, Start Timer Stop Timer etc I've searched for time…
1 2 3
9
10