[Sugar-devel] Queries regarding Sugar Sharp assembly on Mono
Tomeu Vizoso
tomeu at sugarlabs.org
Mon Sep 27 11:46:08 EDT 2010
On Mon, Sep 27, 2010 at 14:50, Harpreet Sareen <author.blogger at gmail.com> wrote:
> Hi,
> 1) Usually the activity interface has different tabs on the top such as
> shown in this screenshot for Record activity.
> http://img163.imageshack.us/img163/7580/542record1.png[^]
> Sugar-Sharp assembly doesn't include the binding for the Telepathy
> Framework. I would be greatful if you could that to make the networking
> operation possible.
> Mesh Networking is a major requirement for XO laptops as the activities have
> to collaborate. Please Please Please help !!
You can access the Telepathy API through DBus# and the Telepathy DBus spec:
http://www.ndesk.org/DBusSharp
http://telepathy.freedesktop.org/spec/
> What do I have to do to make those tabs in Mono i.e to share my activities
> with the neighborhood?
They are normal Gtk widgets, you can see how to construct them in the
sugar-toolkit code:
http://git.sugarlabs.org/projects/sugar-toolkit/repos/mainline/blobs/master/src/sugar/activity/widgets.py#line326
> 2) I haven't noticed dialogue boxes coming up in Sugar. Are they possible in
> Sugar?
They are possible but not recommended, consider using an inline Alert instead:
http://git.sugarlabs.org/projects/sugar-toolkit/repos/mainline/blobs/master/src/sugar/graphics/alert.py
> 3) I want to use the Text to Speech mechanism in my activity similar to
> eSpeak. How's that done in Mono?
I think you have two options:
- DBus# to interface with speech-dispatcher
- http://wiki.sugarlabs.org/go/Activity_Team/gst-plugins-espeak
Regards,
Tomeu
> Thanks for help!
>
> Regards
> Harpreet
>
> _______________________________________________
> Sugar-devel mailing list
> Sugar-devel at lists.sugarlabs.org
> http://lists.sugarlabs.org/listinfo/sugar-devel
>
>
More information about the Sugar-devel
mailing list