Kalle Dalheimer <[EMAIL PROTECTED]> writes:

| But I would need some help on what the control flow is when the user clicks 
| on a button. The xforms frontend has some nasty looking callbacks that I do 
| not really seem to grasp.

<gui event, in the workarea>
caught by WorkArea::work_area_handler which emits a signal workAreaButtonPress.
(evt workAreaButtonRelease)
by default this signal is caught by BufferView::Pimpl::workAreaButtonPress.
(evt. workAreaButtonRelease)
And from there the various insets ask the dialogs to open various
dialogs as needed.

<gui event, outside the workarea, f.ex. toobar/menus>
menubar/toolbar catch it, runs a LFUN and the rest is taken from
there.
The LFUN calls the dialogs and ask it to show a dialog

-- 
        Lgb

Reply via email to