Logo Search packages:      
Sourcecode: inkscape version File versions

void Inkscape::MessageContext::flash ( MessageType  type,
gchar const *  message 
)

pushes a message onto the stack for a brief period of time without disturbing our "current" message

Parameters:
type the message type
message the message text

Definition at line 53 of file message-context.cpp.

References _flash_message_id, _stack, Inkscape::MessageStack::cancel(), and Inkscape::MessageStack::flash().

Referenced by flashVF().

                                                                 {
    if (_flash_message_id) {
        _stack->cancel(_flash_message_id);
    }
    _flash_message_id = _stack->flash(type, message);
}


Generated by  Doxygen 1.6.0   Back to index