On 05-Apr-2001 Allan Rae wrote:

> -     outputs_[INITIAL] = CLOSE;
> +     outputs_[INITIAL] = OKAY | APPLY | CLOSE;
> 
> This should be a safe change for both these policies.  It'd also mean that
> after a Restore you can still press Okay or Apply without changing
> something in the dialog.
> 
> Provided we do an input check on the contents of the dialog just as it is
> being shown then we can move to the appropriate state (INVALID or
> RO_INVALID) if the contents aren't initially valid.  I suspect we assume
> that the contents are always valid on initial showing.
> 

Well we would need OKAY | APPLY only if the cursor moves to some other
paragraph isn't it or in general if the cursor moves. We should send a
update signal to buffer dependent dialogs but for this type of dialog we
would need one more signal and that is a signal which activates that buttons
if one of the parameters of the actual paragraph differs with the content
of the actual cursor position (or in the case of the ParagraphLayout the
paragraph we are actually in). Also it would be great to have:

1. A button in the Dialog to update the contents with the actual paragraph
   (or whatever) settings.

2. An other way to realize this. Mayby just reopening the dialog (also
   without closing it first) should do this. Otherwise if I want to change
   only one thing in a paragraph I have to close the Dialog and reopen it
   when the cursor is inside the paragraph to have the Dialog with the
   right values.

Comments?!

        Jürgen

--
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._
Dr. Jürgen Vigna        E-Mail:  [EMAIL PROTECTED]
Italienallee 13/N       Tel/Fax: +39-0471-450260 / +39-0471-450253
I-39100 Bozen           Web:     http://www.sad.it/~jug
-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._-._

You'd like to do it instantaneously, but that's too slow.

Reply via email to