[Haskell-cafe] Looking for GUI examples

Sergey Mironov grrwlf at gmail.com
Tue Sep 10 19:30:59 CEST 2013


Wow. Thanks! Looks impressive.

Regards,
Sergey

2013/9/10 Ivan Perez <ivanperezdominguez at gmail.com>:
> 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/Controller/Conditions/WifiListMenu.hs
> https://github.com/ivanperez-keera/haskellifi-trayicon/blob/master/src/Controller/Conditions/Icon.hs
>
> 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 <hjgtuyl at chello.nl> wrote:
>>
>> On Mon, 09 Sep 2013 11:48:42 +0200, Sergey Mironov <grrwlf at gmail.com>
>> 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.hs
>>
>> 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 at 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 at haskell.org
>> http://www.haskell.org/mailman/listinfo/haskell-cafe
>
>



More information about the Haskell-Cafe mailing list