Hi again, I have three questions on events!
1) Is it possible to create your own custom event? For example, the script choses a brush, puts it's name to customOption and than use an event to tell the panel to read the customOption
2) Is there an event for a brush stroke (I mean not a stroke effect, but actual painting)? I saw an event 'DRAW' but it seems that it's for something different
3) Is there a way to get values from the tool that triggered the event? For example, if I caught 'CANVAS_SIZE' event, is there a way to determine width/height/anchor?
Many thanks!