>>>>> "Edwin" == Edwin Leuven <[EMAIL PROTECTED]> writes:

>> This would not be necessary is the frontend has a list of named
>> toolbars.

Edwin> named? how?

Toobar "main"
  Icon ...
EndToolbar

Toolbar "tabular"
  Icon ...
EndToolbar

Toolbar "math"
  Icon ...
EndToolbar

Then the toolbar frontend would have to handle a vector<string> of
toolbars intead of explicit members.

>> With the change I describe, I think that the math toolbar could be
>> added only by editing the default.ui file.

Edwin> well the math toolbar is a bit special because we would want
Edwin> popups: have a, say operators, button which if you keep it
Edwin> pressed pops up a little gridview underneath it with all the
Edwin> operators

This could be a 'subtoolbar', defined like

Toolbar "math"
  Icon ...
  SubToolbar "symbols"
  Icon ...
EndToolbar

Toolbar "symbols"
  Icon ...
EndToolbar

I mean that toolbars could be embedded inside toolbars like submenus
do. But then we have to specify an icon for the main toolbar.

Thangs are not very clear (yet) in my mind, obviously and maybe math
toolbar needs special care.

But I think, a simple genric model like I described would be useful
for example to define a literate programming toobar that only appears
when a literate programming file is being edited.

JMarc

Reply via email to