Logo Search packages:      
Sourcecode: inkscape version File versions

void Inkscape::UI::Dialogs::DebugDialogImpl::message ( char *  msg  )  [virtual]

Display a message

Implements Inkscape::UI::Dialogs::DebugDialog.

Definition at line 217 of file debugdialog.cpp.

Referenced by captureLogMessages(), DebugDialogImpl(), and releaseLogMessages().

{
    Glib::RefPtr<Gtk::TextBuffer> buffer = messageText.get_buffer();
    Glib::ustring uMsg = msg;
    if (uMsg[uMsg.length()-1] != '\n')
        uMsg += '\n';
    buffer->insert (buffer->end(), uMsg);
}


Generated by  Doxygen 1.6.0   Back to index