194 questions
1
vote
1
answer
62
views
How to display a progression bar on the task bar using Go and Fyne?
I am creating a little software in Golang. I use Fyne as GUI library. It creates long process (it it a file encrypter), so I display a progression bar, as it:
go func() {
go encryptCore(
...
1
vote
1
answer
59
views
How to set min window size for application
I just want to create a simple chat app. I try setting the min size for myWindow but only found SetMinSize function on baseObject, not for container or layout. Right now my app can shrink very small ...
1
vote
1
answer
44
views
What is the better way to use fyne dialogs synchronously in Go?
I am programming a little software in Go called GoFileEncoder. For the file dialog boxes, I would like to use fyne.io/fyne/v2/dialog. Only, the functions dialog.ShowFileOpen() and dialog.ShowFileSave()...
1
vote
1
answer
101
views
Fyne: dynamically added widgets disappear after hiding/unhiding a custom widget
I created a custom widget in Fyne that dynamically adds other widgets.
Everything works fine — until I hide the parent widget and show it again after a few minutes.
When I call .Show() again, all the ...
4
votes
2
answers
75
views
Golang Fyne, Limit the size of the left object with NewHSplit
enter image description here
enter image description here
example1 gif
example2 gif
I'm trying to create a navigation bar on the left side of the window. The problem is that the line (NewHSplit) can ...
1
vote
1
answer
95
views
How to Activate the File menu with a keyboard shortcut in Fyne
I have a File menu in my fyne app, I'm running KDE on linux. I can't work out how to add a keyboard shortcut to activate the file menu. I have the following code:
fileMenu := fyne.NewMenu("File&...
1
vote
1
answer
54
views
GO, Goland, fyne, win11
I installed gcc, go, fyne by msys2. But in goland if I try to compile it gives an error
package DELETEME
import (
"fyne.io/fyne/v2/app"
"fyne.io/fyne/v2/container"
&...
2
votes
1
answer
188
views
Golang fyne framework MinGw compiler problem
It's my first time using the fyne framework for golang on windows, I followed overy step of the https://docs.fyne.io/started/ guide, but when I run the command go build . on my main.go file I get the ...
0
votes
1
answer
72
views
How to detect tab keypress in a fyne widget.Table on the desktop?
I have overridden an Entry to deal with a tab keypress in a fyne Table. My aim is to finish editing and go to the next cell when the Tab key is pressed, just like in Excel. However it seems like Tab ...
2
votes
1
answer
106
views
Fyne, how to stretch tabs with table to fill entire application screen?
I tryied many different way to streatch up my table to the rest of free application space.
The simplies way to reproduce my problem is:
package main
import (
"fmt"
"strconv&...
1
vote
0
answers
92
views
Detect OpenGL during runtime Golang
This question is a follow-up to my SO Answer about using Mesa opengl32.dll when a Golang app does not have a graphics driver to launch Fyne Windows.
I'm trying to centralize my code so that it works ...
1
vote
2
answers
166
views
Using Mesa DLL for Golang Fyne
I have Go code that opens a Fyne window. I run this on my MacBook and it works. I am trying to get it to run on a KVM Windows server. This issue isn't related to this specific KVM server as I've tried ...
0
votes
1
answer
109
views
connect fyne.Terminal to a command
Here is a minimal working example:
package main
import (
"fyne.io/fyne/v2/app"
"fyne.io/fyne/v2/container"
"fyne.io/fyne/v2/layout"
"github.com/fyne-...
1
vote
2
answers
187
views
What am I doing wrong with the fyne list widget
I am trying to generate a list of strings using fyne canvas.Text. The code below demonstrates the problem. It opens with a window far too small to hold the list which should be just numbers 0..100.
...
1
vote
1
answer
67
views
skewed top and bottom border, and space between border
As defined on title, I was trying to create a bordered container. The top and bottom border seems skewed to an angle, but in my code, I didn't define the skewing. Also, there are spaces between border....