<div dir="ltr">Hi,<div><br></div><div>Here is a video: <a href="https://vidd.me/oJD">https://vidd.me/oJD</a></div><div><br></div><div>Sam</div></div><div class="gmail_extra"><br><br><div class="gmail_quote">On Thu, Jan 30, 2014 at 4:54 AM, Martin Abente <span dir="ltr"><<a href="mailto:martin.abente.lahaye@gmail.com" target="_blank">martin.abente.lahaye@gmail.com</a>></span> wrote:<br>

<blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div dir="ltr">Looks very nice, and needed :) Think you could upload a video, showing how it works from the use POV, for the non-programmers?</div>

<div class="gmail_extra"><br><br><div class="gmail_quote"><div><div class="h5">On Tue, Jan 28, 2014 at 9:48 PM, Sam Parkinson <span dir="ltr"><<a href="mailto:sam.parkinson3@gmail.com" target="_blank">sam.parkinson3@gmail.com</a>></span> wrote:<br>


</div></div><blockquote class="gmail_quote" style="margin:0 0 0 .8ex;border-left:1px #ccc solid;padding-left:1ex"><div><div class="h5"><div dir="ltr">Hi,<div><br></div><div>I was working on a little notification thing as per the designs. You can download it and test it from here: <a href="https://github.com/SAMdroid-apps/sugar/tree/NotificationWIP" target="_blank">https://github.com/SAMdroid-apps/sugar/tree/NotificationWIP</a> and <a href="https://github.com/SAMdroid-apps/sugar-toolkit-gtk3/tree/NotificationsWIP" target="_blank">https://github.com/SAMdroid-apps/sugar-toolkit-gtk3/tree/NotificationsWIP</a>. You can check out a test activity here: <a href="https://git.sugarlabs.org/~samdroid/hello-world/hello-notification-world" target="_blank">https://git.sugarlabs.org/~samdroid/hello-world/hello-notification-world</a>. (To use the test, press notify and wait 3 seconds).</div>




<div><br></div><div>Here are some pretty pics:</div><div><br></div><div><img src="cid:ii_143db73ca42e305c" alt="Inline image 1" width="533" height="401"><br></div><div>(the thing is in the top-left)</div><div><br></div><div>




<img src="cid:ii_143db75357457bcd" alt="Inline image 2" width="533" height="401"><br></div><div><br></div><div>You can click on the notifications to close them. They do nothing since we don't (yet) have an intent system.</div>




<div><br></div><div>API in sugar3.activity.Activity:</div><div><br></div><div><pre style="white-space:pre-wrap;word-wrap:break-word">    def notify(self, summary, body, intent):
        """
        Display a notification with the given summary and body.
        The notification will have the activity's icon as the icon.
        **intent currently does nothing, so whatch this space**
        """</pre><pre style="white-space:pre-wrap;word-wrap:break-word"><font face="arial, helvetica, sans-serif">See the example for usage :)</font></pre><pre style="white-space:pre-wrap;word-wrap:break-word">


<font face="arial, helvetica, sans-serif"><br></font></pre><pre style="white-space:pre-wrap;word-wrap:break-word"><font face="arial, helvetica, sans-serif">Please tell me what you think :)</font></pre><span><font color="#888888"><pre style="white-space:pre-wrap;word-wrap:break-word">


<font face="arial, helvetica, sans-serif"><br></font></pre><pre style="white-space:pre-wrap;word-wrap:break-word"><font face="arial, helvetica, sans-serif">Sam</font></pre></font></span></div></div>
<br></div></div>_______________________________________________<br>
Sugar-devel mailing list<br>
<a href="mailto:Sugar-devel@lists.sugarlabs.org" target="_blank">Sugar-devel@lists.sugarlabs.org</a><br>
<a href="http://lists.sugarlabs.org/listinfo/sugar-devel" target="_blank">http://lists.sugarlabs.org/listinfo/sugar-devel</a><br>
<br></blockquote></div><br></div>
</blockquote></div><br></div>