How to show a warning message?

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

How to show a warning message?

Inkscape - Dev mailing list
Dear Inkscape Team,

I wonder how to show a warning message. I thought this should work:

if (SP_ACTIVE_DESKTOP && SP_ACTIVE_DESKTOP->messageStack()) {
  SP_ACTIVE_DESKTOP->messageStack()->flash(Inkscape::WARNING_MESSAGE,
"my text");
}

but called from inside an LPE doEffect function I don't see any message.
It does go into the flash function. I expected that a message appears in
the status bar.

Best regards,

Michael

------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
Inkscape-devel mailing list
[hidden email]
https://lists.sourceforge.net/lists/listinfo/inkscape-devel