Hello,
I took the libnotify [0] binding for Squeak [1], adapted it to use the Pharo UFFI API and enhanced it. It is available here [2] and seems to work well (see attached image). It does not cover all libnotify possibilities (see the README on github) but it is already usable to display notifications with eventually icons, set urgency, set timeout, etc... It was great to try UFFI, it is really easy to use. Thanks a lot for it! :-) Regards, Julien Links: [0]: https://developer.gnome.org/libnotify/ [1]: http://www.squeaksource.com/libnotify.html [2]: https://github.com/juliendelplanque/LibnotifyBinding hello-from-pharo-libnotify.png (87K) Download Attachment |
Nice. And it would be much nicer if Pharo allows to install it as new notifications backend (instead of morphic one). 2016-05-30 16:50 GMT+02:00 Julien Delplanque <[hidden email]>: Hello, |
Good idea, I will have a look at this feature. :-)
Julien On 30/05/16 17:07, Denis Kudriashov wrote: > Nice. > > And it would be much nicer if Pharo allows to install it as new > notifications backend (instead of morphic one). > > 2016-05-30 16:50 GMT+02:00 Julien Delplanque <[hidden email]>: > >> Hello, >> >> I took the libnotify [0] binding for Squeak [1], adapted it to use the >> Pharo UFFI API and >> enhanced it. It is available here [2] and seems to work well (see attached >> image). >> >> It does not cover all libnotify possibilities (see the README on github) >> but it is already >> usable to display notifications with eventually icons, set urgency, set >> timeout, etc... >> >> It was great to try UFFI, it is really easy to use. Thanks a lot for it! >> :-) >> >> Regards, >> >> Julien >> >> Links: >> [0]: https://developer.gnome.org/libnotify/ >> [1]: http://www.squeaksource.com/libnotify.html >> [2]: https://github.com/juliendelplanque/LibnotifyBinding >> |
In reply to this post by Julien Delplanque
> On 30 May 2016, at 16:50, Julien Delplanque <[hidden email]> wrote: > > Hello, > > I took the libnotify [0] binding for Squeak [1], adapted it to use the Pharo UFFI API and > enhanced it. It is available here [2] and seems to work well (see attached image). > > It does not cover all libnotify possibilities (see the README on github) but it is already > usable to display notifications with eventually icons, set urgency, set timeout, etc... > > It was great to try UFFI, it is really easy to use. Thanks a lot for it! :-) thank you for your feedback, is highly appreciated :) … and I have a project who will benefit from libnotify, so, thanks you :D Esteban > > Regards, > > Julien > > Links: > [0]: https://developer.gnome.org/libnotify/ > [1]: http://www.squeaksource.com/libnotify.html > [2]: https://github.com/juliendelplanque/LibnotifyBinding > <hello-from-pharo-libnotify.png> |
On 30/05/16 18:02, Esteban Lorenzano wrote: >> On 30 May 2016, at 16:50, Julien Delplanque <[hidden email]> wrote: >> >> Hello, >> >> I took the libnotify [0] binding for Squeak [1], adapted it to use the Pharo UFFI API and >> enhanced it. It is available here [2] and seems to work well (see attached image). >> >> It does not cover all libnotify possibilities (see the README on github) but it is already >> usable to display notifications with eventually icons, set urgency, set timeout, etc... >> >> It was great to try UFFI, it is really easy to use. Thanks a lot for it! :-) > thank you for your feedback, is highly appreciated :) > > … and I have a project who will benefit from libnotify, so, thanks you :D don't hesitate to report them using Github issues. :-) Julien |
Free forum by Nabble | Edit this page |