
1 Jul
2009
1 Jul
'09
7:29 a.m.
Hi I'm just trying out gtk2hs for the first time and I quite like it. However, for some reason my tray icon (...Gtk.Display.StatusIcon) disappears after a split second when I run my program using GHCi. What's the reason for this? Perhaps this is even a bug? It works just fine if I compile an .exe. I'm using Windows XP with GHC 6.10.3 and gtk2hs 0.10.1. import Graphics.UI.Gtk import Graphics.UI.Gtk.Display.StatusIcon main :: IO () main = do initGUI window <- windowNew tray <- statusIconNewFromFile "c:/Program Files/TortoiseHg/icons/commit.png" window `onDestroy` mainQuit widgetShowAll window mainGUI -- Deniz Dogan
5805
Age (days ago)
5805
Last active (days ago)
0 comments
1 participants
participants (1)
-
Deniz Dogan