Re: [@dxli and @sand1024] please a tip for the RS_Eventhandler
Posted by sand1024 on Apr 10, 2025; 6:26pm
URL: https://forum.librecad.org/fixed-thanks-please-a-tip-for-the-RS-Eventhandler-tp5726883p5726885.html
Hm... I'm not sure I understand the expected logic there.
Is it a one-shoot action (so trigger is called in init and that's it)?
void LC_ActionFileViewSlide::init(int status) {
RS_ActionInterface::init(status);
trigger();
}
Or that action should do something else?
Please expand a little on what you're going to achieve from the actions lifecycle point of view and probably I'll be able to point you to some existing action as reference or provide more info.