How can I display a video in Gtk4 using haskell?
I am trying to display a video using Gtk4 and Haskell but I’m having some trouble doing this.
Here is my code up so far. I have modified the example from https://github.com/haskell-gi/haskell-gi/blob/master/examples/Gtk4/gtk4-example.hs and I now have this.
how do I set an initial folder for a file-open dialog?
I’d like to have a button in my application which allows the user to open a file from within the application’s special documents directory. I thought I could use the initial-folder
property to set this, but I couldn’t find a way to use it that did what I wanted. Here’s a minimal example that doesn’t do what I expect: