Re: Toolbar configuration

2006-10-15 Thread Joost Verburg
Jean-Marc Lasgouttes wrote: The problem is not to obtain the state. It is to capture the fact that it gets modified and know whether we are in a math inset at the time. Right. I understand that capturing toolbar events and auto toolbars is a bit difficult. Also we are not yet sure what to do w

Re: Toolbar configuration

2006-10-13 Thread Joost Verburg
Jean-Marc Lasgouttes wrote: With word (an older version), I did not manage to get a table toolbar to pop up. I did not find other examples. The "Tables and Borders" toolbar in Word is not context-sensitive, others like Picture or WordArt are. Joost

Re: Toolbar configuration

2006-10-13 Thread Bo Peng
> Not if it means importing the whole session stuff, which currently > contains many many changes. I know, I mean only the toolbar part without the whole session stuff. If I can take the time to separate the toolbar part from the session-related code, I would as well port the whole session stuf

Re: Toolbar configuration

2006-10-13 Thread Jean-Marc Lasgouttes
> "Joost" == Joost Verburg <[EMAIL PROTECTED]> writes: Joost> When it is integrated with the standard toolbar settings, the Joost> users will recognize the different toolbar states depending on Joost> the context. They also know this from other applications. I Joost> think OpenOffice also work

Re: Toolbar configuration

2006-10-13 Thread Juergen Spitzmueller
Joost Verburg wrote: > The first step is to remember the state of the View Yes. Jürgen

Re: Toolbar configuration

2006-10-13 Thread Joost Verburg
Juergen Spitzmueller wrote: Why? I think with the Toolbar dalog, we don't need a prefs entry. The default is in the ui files, and the modifications are stored in session. That's exactly what I mean. However you are talking about a View > Toolbars > Customize dialog, which allows you to customi

Re: Toolbar configuration

2006-10-13 Thread Juergen Spitzmueller
Abdelrazak Younes wrote: > > While this is of course true, my question should read "... instead of > > doing in in preferences or with a context menu". > > I guess one option does not preclude the other... The toolbar dialog is > needed anyway. Why? I think with the Toolbar dalog, we don't need a

Re: Toolbar configuration

2006-10-13 Thread Jean-Marc Lasgouttes
> "Joost" == Joost Verburg <[EMAIL PROTECTED]> writes: Joost> Jean-Marc Lasgouttes wrote: >> First we have to write the code which is able to determine that the >> math toolbar has been switched off while in math mode. We still do >> not know how we will catch that event. Joost> Well, I guess

Re: Toolbar configuration

2006-10-13 Thread Abdelrazak Younes
Juergen Spitzmueller wrote: Abdelrazak Younes wrote: I wonder why we don't implement all those things in the View->Toolbars dialog and get rid of the context menu? Hum... because nobody steps up to do it? While this is of course true, my question should read "... instead of doing in in prefe

Re: Toolbar configuration

2006-10-13 Thread Juergen Spitzmueller
Abdelrazak Younes wrote: > > I wonder why we don't implement all those things in the View->Toolbars > > dialog and get rid of the context menu? > > Hum... because nobody steps up to do it? While this is of course true, my question should read "... instead of doing in in preferences or with a cont

Re: Toolbar configuration

2006-10-13 Thread Joost Verburg
Jean-Marc Lasgouttes wrote: First we have to write the code which is able to determine that the math toolbar has been switched off while in math mode. We still do not know how we will catch that event. Well, I guess it should not be too difficult to obtain the state of a toolbar. Bo will take

Re: Toolbar configuration

2006-10-13 Thread Abdelrazak Younes
Juergen Spitzmueller wrote: Jean-Marc Lasgouttes wrote: Joost> Bo, would it be possible to add this to your LyX 1.5 session Joost> management system? First we have to write the code which is able to determine that the math toolbar has been switched off while in math mode. We still do not know h

Re: Toolbar configuration

2006-10-13 Thread Juergen Spitzmueller
Jean-Marc Lasgouttes wrote: > Joost> Bo, would it be possible to add this to your LyX 1.5 session > Joost> management system? > > First we have to write the code which is able to determine that the > math toolbar has been switched off while in math mode. We still do not > know how we will catch tha

Re: Toolbar configuration

2006-10-13 Thread Jean-Marc Lasgouttes
> "Joost" == Joost Verburg <[EMAIL PROTECTED]> writes: Joost> Bo, would it be possible to add this to your LyX 1.5 session Joost> management system? First we have to write the code which is able to determine that the math toolbar has been switched off while in math mode. We still do not know

Re: Toolbar configuration

2006-10-12 Thread Bo Peng
Bo, would it be possible to add this to your LyX 1.5 session management system? This does not sound too difficult. I will have a look soon. Cheers, Bo

Toolbar configuration

2006-10-12 Thread Joost Verburg
Joost Verburg wrote: Word has no additional menu options but saves different settings for context-sensitive toolbars. For example, for the picture toolbar you have two different settings. One on/off setting when working on normal text and one on/off setting when a picture is selected. Word re