Re: InsetRef suggestion: comments please

2000-09-13 Thread Allan Rae
On 11 Sep 2000, Jean-Marc Lasgouttes wrote: > > "Allan" == Allan Rae <[EMAIL PROTECTED]> writes: > > Allan> You could start by grouping checks -- various menu entries > Allan> aren't available for readonly docs, different menu entries are > Allan> available when no buffers exist. That sort o

Re: InsetRef suggestion: comments please

2000-09-12 Thread Jean-Marc Lasgouttes
> "Marko" == Marko Vendelin <[EMAIL PROTECTED]> writes: Marko> You are right, LyXFunc::getStatus() is not expencive. I've Marko> tried to move cursor through the document and took almost the Marko> same amount of time to reach the end of the document regardless Marko> to whether I updated the

Re: InsetRef suggestion: comments please

2000-09-12 Thread Marko Vendelin
On 11 Sep 2000, Jean-Marc Lasgouttes wrote: > > "Marko" == Marko Vendelin <[EMAIL PROTECTED]> writes: > > Marko> The problem is whether menus and toolbars should have their own > Marko> means to track the state of LyX actions or there should be some > Marko> general way to inform about the

Re: InsetRef suggestion: comments please

2000-09-11 Thread Jean-Marc Lasgouttes
> "Marko" == Marko Vendelin <[EMAIL PROTECTED]> writes: Marko> The problem is whether menus and toolbars should have their own Marko> means to track the state of LyX actions or there should be some Marko> general way to inform about the change of the status to all Marko> interested parties. A

Re: InsetRef suggestion: comments please

2000-09-11 Thread Jean-Marc Lasgouttes
> "Allan" == Allan Rae <[EMAIL PROTECTED]> writes: Allan> You could start by grouping checks -- various menu entries Allan> aren't available for readonly docs, different menu entries are Allan> available when no buffers exist. That sort of thing. Then you Allan> can deactivate a bunch of stuf

Re: InsetRef suggestion: comments please

2000-09-11 Thread Allan Rae
On Fri, 8 Sep 2000, Marko Vendelin wrote: > > > On 8 Sep 2000, Jean-Marc Lasgouttes wrote: > > > Let's face it: if you want to a tearable menu to change when the > > cursor moves you will have to do _something_. What I would try to do > > if I were to write the gnome frontend is first to build

Re: InsetRef suggestion: comments please

2000-09-08 Thread Marko Vendelin
On 8 Sep 2000, Jean-Marc Lasgouttes wrote: > Let's face it: if you want to a tearable menu to change when the > cursor moves you will have to do _something_. What I would try to do > if I were to write the gnome frontend is first to build the menus at > update() time and see whether it causes p

Re: InsetRef suggestion: comments please

2000-09-08 Thread Jean-Marc Lasgouttes
> "Juergen" == Juergen Vigna <[EMAIL PROTECTED]> writes: >> I agree that this may have drawbacks, but I have not found them >> yet. Could you be a bit more constructive? Juergen> Did you see the messages about the problems with the new menu Juergen> code and other implementations (GNOME)? Whi

Re: InsetRef suggestion: comments please

2000-09-08 Thread Juergen Vigna
On 08-Sep-2000 Jean-Marc Lasgouttes wrote: >> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: > > Lars> You are not calling this a _nice_ way to do context sensitive > Lars> menus are you? > > Could you discuss this a bit more? What I find ``nice'' here is that, > with the already

Re: InsetRef suggestion: comments please

2000-09-08 Thread Jean-Marc Lasgouttes
> "Lars" == Lars Gullik Bjønnes <[EMAIL PROTECTED]> writes: Lars> You are not calling this a _nice_ way to do context sensitive Lars> menus are you? Could you discuss this a bit more? What I find ``nice'' here is that, with the already existing menu scheme, we would be able to define in one

Re: InsetRef suggestion: comments please

2000-09-07 Thread Lars Gullik Bjønnes
Jean-Marc Lasgouttes <[EMAIL PROTECTED]> writes: | > "Allan" == Allan Rae <[EMAIL PROTECTED]> writes: | | Allan> Lars you were saying something last week about c-s menu | Allan> support. Any ideas for handling this in a simple manner? JMarc | Allan> any suggestions for how we map c-s menus i

Re: InsetRef suggestion: comments please

2000-09-04 Thread Jean-Marc Lasgouttes
> "Allan" == Allan Rae <[EMAIL PROTECTED]> writes: Allan> Lars you were saying something last week about c-s menu Allan> support. Any ideas for handling this in a simple manner? JMarc Allan> any suggestions for how we map c-s menus in the UI menu stuff? Provided you know how to trigger the m

Re: InsetRef suggestion: comments please

2000-08-08 Thread Angus Leeming
Allan> Angus, from what I'm reading you seem to want to have two dialogs with Allan> almost identical capabilities. Just make one. Maybe this is what you are Allan> working towards with the addition of the browser? One dialog only. When called with an inset (as in showRef( this );), the browser

Re: InsetRef suggestion: comments please

2000-08-07 Thread Allan Rae
On Mon, 7 Aug 2000, Angus Leeming wrote: > Well, I'm in the process of modifying my dialog so that it has the big insert > ref's browser. > If the dialog is called from "insert cross reference", then we have exactly > the same functionality as now. Ie, browser enabled, can change reference name

Re: InsetRef suggestion: comments please

2000-08-07 Thread Allan Rae
On 7 Aug 2000, Lars Gullik Bjønnes wrote: > Angus Leeming <[EMAIL PROTECTED]> writes: > > > | Lars> And we don't want the dialog to popup on on RMB, we want a small pup > | Lars> menu with just a few items. > | > | Well, I'm not worried about how we give the user the ability to do > | this, bu

Re: InsetRef suggestion: comments please

2000-08-07 Thread Lars Gullik Bjønnes
Angus Leeming <[EMAIL PROTECTED]> writes: | Lars> And we don't want the dialog to popup on on RMB, we want a small pup | Lars> menu with just a few items. | | Well, I'm not worried about how we give the user the ability to do | this, but I | do think that a pup won't be sufficient in this case

Re: InsetRef suggestion: comments please

2000-08-07 Thread Angus Leeming
Lars> | > Lars> I'd like to have a RMB context menu popup. Wherever I click RMB the Lars> | > Lars> context-sensitive-menu is called and the appropriate popup is shown. Lars> | > Lars> F.ex if I RMB on the small red margin on a marginal note I get a small Lars> | > Lars> popup where I can choose l

Re: InsetRef suggestion: comments please

2000-08-07 Thread Lars Gullik Bjønnes
Allan Rae <[EMAIL PROTECTED]> writes: | > Lars> I'd like to have a RMB context menu popup. Wherever I click RMB the | > Lars> context-sensitive-menu is called and the appropriate popup is shown. | > Lars> F.ex if I RMB on the small red margin on a marginal note I get a small | > Lars> popup wher

Re: InsetRef suggestion: comments please

2000-08-07 Thread Angus Leeming
Allan> The four things you listed (IIRC) don't need a dialog to be useful. None Allan> of the four required input. One was "goto ref" and three were effectively Allan> a set of radio buttons. You can only select one of the three entries in Allan> a menu at a time. Ergo, we have the radio butto

Re: InsetRef suggestion: comments please

2000-08-07 Thread Allan Rae
On Mon, 7 Aug 2000, Angus Leeming wrote: > Allan> This is why we need context sensitive menu support. Another dialog is > Allan> pointless for what is really a trivial action. Why click three times > Allan> (open, select, close) when a single held click on a c-s menu will do. > > Because the

Re: InsetRef suggestion: comments please

2000-08-07 Thread Angus Leeming
Allan> This is why we need context sensitive menu support. Another dialog is Allan> pointless for what is really a trivial action. Why click three times Allan> (open, select, close) when a single held click on a c-s menu will do. Because the dialog will do more than just "go to the ref" Allan

Re: InsetRef suggestion: comments please

2000-08-07 Thread Lars Gullik Bjønnes
Allan Rae <[EMAIL PROTECTED]> writes: | This is why we need context sensitive menu support. Another dialog is | pointless for what is really a trivial action. Why click three times | (open, select, close) when a single held click on a c-s menu will do. | | Lars you were saying something last we

Re: InsetRef suggestion: comments please

2000-08-06 Thread Allan Rae
On Fri, 4 Aug 2000, Angus Leeming wrote: [...] > I'd like to change this behaviour so that clicking on the inset > launches a new reference dialog. > > (This dialog will not allow the user to change the thing to which it refers. > For that, the reference must be deleted and a new one inserted, as

Re: InsetRef suggestion: comments please

2000-08-04 Thread Angus Leeming
Angus> I'd like to change this behaviour so that clicking on the inset Angus> launches a new reference dialog. JMarc> Then maybe the goto feature shold assigned to another event, like JMarc> Shift-Click1. Good. I'll have a go. A.

Re: InsetRef suggestion: comments please

2000-08-04 Thread Jean-Marc Lasgouttes
> "Angus" == Angus Leeming <[EMAIL PROTECTED]> writes: Angus> I'd like to change this behaviour so that clicking on the inset Angus> launches a new reference dialog. Then maybe the goto feature shold assigned to another event, like Shift-Click1. JMarc