Marbles: Difference between revisions
No edit summary |
No edit summary |
||
| Line 91: | Line 91: | ||
'''Description''' | '''Description''' | ||
Initially, navigation-main row would be initiated with widget-id say 0 and delete to be false | Initially, navigation-main row would be initiated with widget-id say 0 and delete to be false | ||
When user drags an widget on canvas, new widget would be created and a new entry comes in navigation-main table. Similarly children-widgets are created and subsequent entries will be given in specific tables. For undo operation, navigation-row entry for "delete" can be set to false, similarly for redo operation, entry would be false again. | When user drags an widget on canvas, new widget would be created and a new entry comes in navigation-main table. Similarly children-widgets are created and subsequent entries will be given in specific tables. For undo operation, navigation-row entry for "delete" can be set to false, similarly for redo operation, entry would be false again. | ||
| Line 96: | Line 97: | ||
'''How output is generated''' | '''How output is generated''' | ||
program generator will read navigation-main and widgets specified by user will be initiated with given options. Navigation-view will then be fetched and widgets will then be arranged according to view-instructions. | program generator will read navigation-main and widgets specified by user will be initiated with given options. Navigation-view will then be fetched and widgets will then be arranged according to view-instructions. | ||
Code generated will be temporarily stored in files ( say /tmp) , can be permanent stored if user wants to save the UI-application. | Code generated will be temporarily stored in files ( say /tmp) , can be permanent stored if user wants to save the UI-application. | ||
'''Note''' | '''Note''' | ||
Special care will be given on debugging facility. since pygtk is used in UI application, sugar-bot integration would not be difficult to achieve. I will also try to include modules for sugar-bot debugging facility to facilitated direct unit-testing. | Special care will be given on debugging facility. since pygtk is used in UI application, sugar-bot integration would not be difficult to achieve. I will also try to include modules for sugar-bot debugging facility to facilitated direct unit-testing. | ||