
- #XO SAMPLE MANAGER HOW TO#
- #XO SAMPLE MANAGER SOFTWARE#
- #XO SAMPLE MANAGER CODE#
- #XO SAMPLE MANAGER DOWNLOAD#
The need to inherit from the Sugar.Window class to access the low level communication with the Sugar API. The MainWindow's constructor is responsible for the window initialization: it creates controls and sets up event handlers. NET WinForms developer, the Gtk framework should look familiar to you. Void OnClick( object sender, EventArgs a) Void OnMainWindowDelete( object sender, DeleteEventArgs a) _button.Clicked += new EventHandler(OnClick) Label _text = new Label( " Hello Lab Activity") This.DeleteEvent += new DeleteEventHandler(OnMainWindowDelete) Public MainWindow( string activityId, string bundleId) Public new static string activityId = " "
#XO SAMPLE MANAGER CODE#
Here is the source code to create the main window for the Activity: Right click on References, "Edit References…", choose the ".NET Assembly" sheet, and select the right assembly. We just need to add the Sugar.dll assembly. Let's now configure this solution to add the Sugar binding. We're using the Gtk# template because Sugar is based on Gtk.

The laptops use a wide range of DC power inputs (including wind-up and solar). To its nearest neighbors, creating an ad hoc local-area network (based on the 802.11s standard). The laptops have wireless broadband that allow them to work with a standard access point or as a mesh network-each laptop is able to talk The laptops have a 433 MHz processor and 256 MB of DRAM, with 1GB of NAND flash memory (there is no hard disk). The XO is an innovative hardware design, with a dual-mode display-both a full-color transmissive mode and a black and white
#XO SAMPLE MANAGER SOFTWARE#
Low-power, connected laptop with content and software designed for collaborative, joyful, self-empowered learning. The mission of the OLPC project is to provide educational opportunities for the world's poorest children by providing each child with a rugged, low-cost, The One Laptop per Child association develops a low-cost laptop-the "XO Laptop"-to revolutionize how we educate the world's children. Introduction About the OLPC project and the XO I will use C# and Mono to create a new "activity" which works on the XO and on the Sugar emulator included in the downloadable virtual machine.
#XO SAMPLE MANAGER HOW TO#
This article will teach you how to develop an application for Sugar and the XO, the OLPC project machine.
#XO SAMPLE MANAGER DOWNLOAD#
Download the Ubuntu virtual machine with the development environment - Warning: 1.2 GB.
