Logo Search packages:      
Sourcecode: inkscape version File versions  Download package

MessageId Inkscape::MessageStack::pushVF ( MessageType  type,
gchar const *  format,
va_list  args 
)

pushes a message onto the stack using printf-like formatting, using a stdarg argument list

Parameters:
type the message type
format a printf-style format string
args the subsequent printf-style arguments
Returns:
the id of the pushed message

Definition at line 45 of file message-stack.cpp.

References push().

Referenced by pushF().

{
    MessageId id;
    gchar *message=g_strdup_vprintf(format, args);
    id = push(type, message);
    g_free(message);
    return id;
}


Generated by  Doxygen 1.6.0   Back to index