owickstrom / gi-gtk-declarative

Declarative GTK+ programming in Haskell
https://owickstrom.github.io/gi-gtk-declarative/
288 stars 35 forks source link

How do I make a dialog with its own local state? #106

Closed Abastro closed 2 years ago

Abastro commented 2 years ago

Hello, I am trying out gi-gtk-declarative for my own program. I want to have some dialog which does complex configuration - I'd appreciate if it was a separate dialog. So far, I set up my event to run a runLoop - but it does not seem to close properly. How do I make a proper dialog with its own local state? Thanks in advance!

Abastro commented 2 years ago

Nvm, it seems like I can simply delete the widget on deleteEvent and others :>