>>>>> "Asger" == Asger K Alstrup Nielsen <[EMAIL PROTECTED]> writes: >> Why not directly have a LyXFunc::Query() with a large switch like >> in Dispatch()? This could even be used in Dispatch itself to return >> on read-only functions. Just some cut and paste. Asger> Well, it's the same except that instead of one name-space, we Asger> get two name-spaces. What would the advantage be? What do you mean? The only difference is that you propose to create a new lyxfunc query-function that would call some sort of LyXFunc::Query() (via LyXFunc::Dispatch). And this means that we pass an additional parameter for each toolbar/menu item, whereas we know that this could be done in a central way in lyxfunc.C, as it is done currently at the beginning of Dispatch()... However, I do not really understand what you mean by ``two name-spaces''. It is probably why I don't understand you problem :) Could you elaborate? JMarc
- Re: making toolbar tk-indep Asger K. Alstrup Nielsen
- Re: making toolbar tk-indep Jean-Marc Lasgouttes
- Re: making toolbar tk-indep Alejandro Aguilar Sierra
- Re: making toolbar tk-indep Jean-Marc Lasgouttes
- Re: making toolbar tk-indep Carl Ollivier-Gooch
- Re: making toolbar tk-indep Allan Rae
- Re: making toolbar tk-indep Jean-Marc Lasgouttes
- Re: making toolbar tk-indep Asger K. Alstrup Nielsen
- Re: making toolbar tk-indep Jean-Marc Lasgouttes
- Re: making toolbar tk-indep Asger K. Alstrup Nielsen
- Re: making toolbar tk-indep Jean-Marc Lasgouttes
- Re: making toolbar tk-indep Asger K. Alstrup Nielsen
- Re: making toolbar tk-indep Jean-Marc Lasgouttes
- Query functions (was Re: making ... Alejandro Aguilar Sierra
- Re: Query functions (was Re: mak... Jean-Marc Lasgouttes
- Re: Query functions (was Re: mak... Alejandro Aguilar Sierra
- Re: making toolbar tk-indep Allan Rae
- Re: making toolbar tk-indep Jean-Marc Lasgouttes
- Re: making toolbar tk-indep Allan Rae
- Re: making toolbar tk-indep Jean-Marc Lasgouttes
- Re: making toolbar tk-indep Allan Rae
