Summer of Code/2014/bulletinboard: Difference between revisions
Created page with "== Sugar Bulletin Board == <br/><br/> Bulletin Board is a project under Google Summer Of Code which aims at building an interface to promote interaction among users on an acti..." |
|||
| Line 7: | Line 7: | ||
==== Chat Channel ==== | ==== Chat Channel ==== | ||
<br/><br/> | <br/><br/> | ||
It is overlaid on any activity. It is spatially contextual chatting interface comprising of chat bubbles thoughout the screen. | |||
<br/><br/> | |||
For detailed information about the project refer to Bulletin Board Proposal [[http://wiki.sugarlabs.org/go/Summer_of_Code/2014/native/Bulletin_Board.]] | |||
<br/><br/> | |||
==Instructions to setup on any Sugar Activity - == | |||
<br/> | |||
* Clone the sugar toolkit gtk3 repo. - https://github.com/native93/sugar-toolkit-gtk3. | |||
* Also in the sugar-artwork, include the icon hand1.svg and add it in the corresponding Makefile. | |||
* Choose any activity on which you want the Bulletin Board to be overlaid. -''' Shown as an example for the Paint Activity - https://github.com/native93/Sugar-paint-activity. ''' | |||
* In the activity code base, search for the Activity class i.e, Class which inherits activity.Activity of sugar3. - ''OficinaActivity in case of Paint Activity'' | |||
* Import BulletinBoard class from sugar toolkit - ''from sugar3.activity.widgets import BulletinBoard'' | |||
* Initialize an object of the class say self.board - ''self.board = BulletinBoard(self)''. | |||
* Insert self.board in the activity container ( depends on activity ) - '''refer to Paint Activity.''' | |||
* Also insert all the buttons - ''self.board.box_button, self.board.share_button, self.board.button'' in order to end of the activity toolbar box. | |||
<br/> | |||
That's it ! and the Bulletin chat channel is ready for use with the activity !. | |||