@stephane-redon I think it can be nice for the developers to be able to register more actions in the context menu. But it can also make the context menu too crowded. Perhaps, you can make something in the Preferences so that the users can select to add which actions to show in the context menu.
Actually, I am developing an app to convert a list of conformations to a path and vice versa for my work.
So I was thinking it can be useful to add an action in the context menu so that after selecting a list of conformations in the Document View, I would right-click and choose "Convert to Path". Do you have any suggestion to do it for this case?
Actually I didn't explain well the case where the raise didn't worked for me as I expected. When you have two windows, with the first one locked and the second unlocked. If the raise function is called for the second unlocked window, it doesn't go on top of the first locked window.
For those who might interest, I found a simple solution. You need to temporarily lock the window, call the raise function then unlock the window.
Thank you Stephane for your quick answer !
SEFleXibleVisualModel* model = new SEFleXibleVisualModel(vp_file, "vp"); // my visual model
SAMSON::beginHolding("Display vp by arrows");
// stop holding changes to the document