On Mon, Mar 25, 2002 at 05:46:26PM +0100, Jean-Marc Lasgouttes wrote:

> John> no, I mean each /button/ needs a name. 
> 
> Can you use the tooltip text for that? Otherwise, we could add names
> in the toolbar specification.

I could use tooltips I suppose ... a minor point anyway.

> John> horizontal, vertical, t,b,l,r too...
> 
> This is probably a general qt2-only pref. Not something we want in the
> general toolbar code...

hmm ? It's a hint - frontends are free to ignore it. This makes sense to
me.

> John> We already have NewLine, so we just need to be a bit more
> John> flexible. Qt frontend can already make the standard toolbar
> John> vertical (but it looks a bit silly)
> 
> I'm not sure what Newline is good for here (actually, I think we
> should nuke it).

So how do I have multiple user defined toolbars ?

> If you do not have a buffer, there is nothing to display, no? 

Then the backend should return nothing (I've already done this).

Making me check the magic type and see if it's one that might require a
buffer is ugly.

> Feel free to change that. Note however that recomputing the toc  at
> each key press may prove expensive.

I believe we've covered this territory (unsuccessfully) before.

> I could, it is just a bit more code. But this is the solution we chose
> for now. It is an UI policy, however. You can decide to disable menus
> whose entris are all disabled.

ok, sure.

> It would be interesting to know what applications without hardcoded
> menus (koffice??) do.

yes, it would. I suspect they just hard code everything in; they don't
need to work with more than one frontend.

> THis is something I'd like to avoid, sice it means we would have to
> add a lot of calls to this signal all over the code. And I'd rather
> have the core ignorant of the UI.

A signal is pretty ignorant IMHO.

We reached this empasse before. You claim I don't have to fill menus on
demand on the one hand, but say I can't keep up to date on the other.

I can't spot the middle ground you're talking about ?

regards
john

-- 
"Way back at the beginning of time around 1970 the first man page was
 handed down from on high. Every one since is an edited copy."
        - John Hasler <[EMAIL PROTECTED]>

Reply via email to