Features/GTK3/API wish list: Difference between revisions

Godiard (talk | contribs)
Created page with "=Summary= There are a lot of code copy/pasted in the activities, and we can provide a easier API to new/occasional developers. Would be good use the change to GTK3 to improve ou..."
 
Godiard (talk | contribs)
 
(3 intermediate revisions by 2 users not shown)
Line 1: Line 1:
=Summary=
<noinclude>[[Category:Wish list]]
</noinclude>
==Summary==


There are a lot of code copy/pasted in the activities, and we can provide a easier API to new/occasional developers.
There are a lot of code copy/pasted in the activities, and we can provide a easier API to new/occasional developers.
Line 5: Line 7:
This pages is right now, to discuss ideas, and collect useful information.
This pages is right now, to discuss ideas, and collect useful information.


=Owner=
==Owner==


The Activity Team  
The Activity Team  


=Ideas=
==Ideas==


== Toolbar items factory methods ==
=== Toolbar items factory methods ===


Walter use in his activities factory methods to create buttons, separators, entry, etc.
Walter use in his activities factory methods to create buttons, separators, entry, etc.
Line 43: Line 45:


We can add methods like create_button, create_label and create_entry to the toolbar
We can add methods like create_button, create_label and create_entry to the toolbar
=== Code to enable/disable power management===
Many activities have code to deal with pm.
=== Code to recognize XO-1, XO-1.5, XO-1.75 and other hardware===
A few activities repeat code to recognize hardware.
More problems ahead http://dev.laptop.org/ticket/11116