Skip to content

How to catch a terminal output of "fyne.io/fyne/v2/dialog" #3614

Answered by Jacalz
jwill0182 asked this question in Q&A
Discussion options

You must be logged in to vote

file_dialog = dialog.NewFolderOpen(func(uri fyne.ListableURI, err error) {}, pMyWindow) //this doesn´t get captured

What do you mean with this? It does not print anything to the terminal; you are just creating a folder dialog object. What are you expecting to happen?

If you want to print the object that you opened, then you need to put a println call within the function you pass to the dialog.

Replies: 1 comment 6 replies

Comment options

You must be logged in to vote
6 replies
@Jacalz
Comment options

Jacalz Jan 30, 2023
Collaborator

@jwill0182
Comment options

@Jacalz
Comment options

Jacalz Jan 30, 2023
Collaborator

@jwill0182
Comment options

@Jacalz
Comment options

Jacalz Jan 31, 2023
Collaborator

Answer selected by jwill0182
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants