[Sugar-devel] Initial implementation of toolbars design

Aleksey Lim alsroot at member.fsf.org
Sat Jul 11 09:27:16 EDT 2009


On Sat, Jul 11, 2009 at 10:49:21AM +0100, Lucian Branescu wrote:
> b) About the API, I would like to stress the need for ways to (more)
> easily remove and add toolbars/toolbar items at runtime.

Usage of new sugar.graphics.Toolbar is clean in that case,
there are just another tool button - sugar.graphics.ToolbarButton
just another gtk.Toolbar in sugar.graphics.Toolbars.top property 
so, you a free to invoke all gtk.Toolbar methods for 'top' property
including adding/removing ToolbarButton buttons.

-- 
Aleksey


More information about the Sugar-devel mailing list