John Spray wrote:

> Revised glade file makes dialog modal.

I don't know what this means. No GUI expert me.

> This would not be necessary if I
> could get a signal each time the cursor in the workarea changes position
> (to load the present paragraph's settings into the dialog), but that
> would be more work than it's worth right now.

I think that you'll find that this does happen.

See text3.C, line 1448:

        case LFUN_PARAGRAPH_UPDATE: {
                ...
                bv->owner()->getDialogs().update("paragraph", data);
                break;
        }

Ie, the core tells the dialog that it should update its contents.

The call above invokes Dialog::update (frontends/controllers/Dialog.C)
which in turn invokes
        view().update();

That's you, matey ;-)

So, if you want to emit a signal in GParagraph::update() to do whatever you
feel is necessary, then just go ahead and do it.

-- 
Angus

Reply via email to