Looking for GUI examples

Hi, Cafe. I'd like to write simple GUI utility containing tray icon and the menu. Could you please suggest Haskell example to make my start easier? Regards, Sergey

On Mon, 09 Sep 2013 11:48:42 +0200, Sergey Mironov
Hi, Cafe. I'd like to write simple GUI utility containing tray icon and the menu. Could you please suggest Haskell example to make my start easier?
There is a simple wxHaskell program for this: https://github.com/wxHaskell/wxHaskell/blob/master/samples/wx/TestTaskBarIco... There is however a problem with this (maybe just on Windows), see the bug report I just entered: http://sourceforge.net/p/wxhaskell/bugs/71/ Regards, Henk-Jan van Tuyl -- Folding@home What if you could share your unused computer power to help find a cure? In just 5 minutes you can join the world's biggest networked computer and get us closer sooner. Watch the video. http://folding.stanford.edu/ http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html Haskell programming --

You may want to check one of Keera Studios' apps. All four of these do what
you want:
https://github.com/ivanperez-keera/haskellifi-trayicon
https://github.com/ivanperez-keera/keera-diamondcard-sms-trayicon
https://github.com/ivanperez-keera/keera-three-balance-checker
https://github.com/keera-studios/keera-posture
The code is well organised, each module tries to implement only one feature.
The part that adds the tray icon, menus and modifies the image is in the
Controller; usually you'd be looking for files with the names Icon*,
Status*, Tray* or *Menu*
One example:
https://github.com/ivanperez-keera/haskellifi-trayicon/blob/master/src/Contr...
https://github.com/ivanperez-keera/haskellifi-trayicon/blob/master/src/Contr...
Note that the first module adds the menu to the icon, and the second one
changes the icon.
There are more complex examples in the other programs.
Let me know if you have any questions.
Cheers
Ivan
On 9 September 2013 15:23, Henk-Jan van Tuyl
On Mon, 09 Sep 2013 11:48:42 +0200, Sergey Mironov
wrote: Hi, Cafe. I'd like to write simple GUI utility containing tray icon
and the menu. Could you please suggest Haskell example to make my start easier?
There is a simple wxHaskell program for this: https://github.com/wxHaskell/**wxHaskell/blob/master/samples/** wx/TestTaskBarIcon.hshttps://github.com/wxHaskell/wxHaskell/blob/master/samples/wx/TestTaskBarIco...
There is however a problem with this (maybe just on Windows), see the bug report I just entered: http://sourceforge.net/p/**wxhaskell/bugs/71/http://sourceforge.net/p/wxhaskell/bugs/71/
Regards, Henk-Jan van Tuyl
-- Folding@home What if you could share your unused computer power to help find a cure? In just 5 minutes you can join the world's biggest networked computer and get us closer sooner. Watch the video. http://folding.stanford.edu/
http://Van.Tuyl.eu/ http://members.chello.nl/**hjgtuyl/tourdemonad.htmlhttp://members.chello.nl/hjgtuyl/tourdemonad.html Haskell programming --
______________________________**_________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/**mailman/listinfo/haskell-cafehttp://www.haskell.org/mailman/listinfo/haskell-cafe

Wow. Thanks! Looks impressive.
Regards,
Sergey
2013/9/10 Ivan Perez
You may want to check one of Keera Studios' apps. All four of these do what you want:
https://github.com/ivanperez-keera/haskellifi-trayicon https://github.com/ivanperez-keera/keera-diamondcard-sms-trayicon https://github.com/ivanperez-keera/keera-three-balance-checker https://github.com/keera-studios/keera-posture
The code is well organised, each module tries to implement only one feature. The part that adds the tray icon, menus and modifies the image is in the Controller; usually you'd be looking for files with the names Icon*, Status*, Tray* or *Menu*
One example: https://github.com/ivanperez-keera/haskellifi-trayicon/blob/master/src/Contr... https://github.com/ivanperez-keera/haskellifi-trayicon/blob/master/src/Contr...
Note that the first module adds the menu to the icon, and the second one changes the icon.
There are more complex examples in the other programs.
Let me know if you have any questions.
Cheers
Ivan
On 9 September 2013 15:23, Henk-Jan van Tuyl
wrote: On Mon, 09 Sep 2013 11:48:42 +0200, Sergey Mironov
wrote: Hi, Cafe. I'd like to write simple GUI utility containing tray icon and the menu. Could you please suggest Haskell example to make my start easier?
There is a simple wxHaskell program for this:
https://github.com/wxHaskell/wxHaskell/blob/master/samples/wx/TestTaskBarIco...
There is however a problem with this (maybe just on Windows), see the bug report I just entered: http://sourceforge.net/p/wxhaskell/bugs/71/
Regards, Henk-Jan van Tuyl
-- Folding@home What if you could share your unused computer power to help find a cure? In just 5 minutes you can join the world's biggest networked computer and get us closer sooner. Watch the video. http://folding.stanford.edu/
http://Van.Tuyl.eu/ http://members.chello.nl/hjgtuyl/tourdemonad.html Haskell programming --
_______________________________________________ Haskell-Cafe mailing list Haskell-Cafe@haskell.org http://www.haskell.org/mailman/listinfo/haskell-cafe
participants (3)
-
Henk-Jan van Tuyl
-
Ivan Perez
-
Sergey Mironov