Photon Callback list execution

I’m developing a photon application (Photon 1.14, QNX 4.25) and in a
widget I have a callback list (Activate event). I would like to execute
the first callback in the list and inside this callback decide to
prosecute or not with the execution of the rest of the list. Photon by
default executes anyway all the callbacks of the list, I didn’t find a
method to interrupt the execution. Does someone know if this is possible
and if yes how?

Thank you very much.

Gianfranco.

Hello.

What you could do, instead of placing all of your callbacks in the PhAB
list, is that you could call them directly from within the first
callback.
That way, you can have the finer level of control that you need for your
application.

Rodney Lott

Gianfranco Girardi wrote:

I’m developing a photon application (Photon 1.14, QNX 4.25) and in a
widget I have a callback list (Activate event). I would like to execute
the first callback in the list and inside this callback decide to
prosecute or not with the execution of the rest of the list. Photon by
default executes anyway all the callbacks of the list, I didn’t find a
method to interrupt the execution. Does someone know if this is possible
and if yes how?

Thank you very much.

Gianfranco.