Logo Search packages:      
Sourcecode: inkscape version File versions

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

pushes a message on the stack, replacing our old message

Parameters:
type the message type
message the message text

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

References _message_id, _stack, Inkscape::MessageStack::cancel(), and Inkscape::MessageStack::push().

Referenced by pen_handle_motion_notify(), pencil_handle_motion_notify(), sp_event_context_private_root_handler(), and sp_knot_handler().

                                                               {
    if (_message_id) {
        _stack->cancel(_message_id);
    }
    _message_id = _stack->push(type, message);
}


Generated by  Doxygen 1.6.0   Back to index