sp-xmlview-content.cpp revision ef9d155a8149d4793471047b3836db719b9e0292
#define __SP_XMLVIEW_CONTENT_C__
/*
* Specialization of GtkTextView for the XML tree view
*
* Authors:
* MenTaLguY <mental@rydia.net>
*
* Copyright (C) 2002 MenTaLguY
*
* Released under the GNU GPL; see COPYING for details
*/
#include "xml/node-event-vector.h"
#include "sp-xmlview-content.h"
#include "desktop-handles.h"
#include "document-private.h"
#include "inkscape.h"
static void event_content_changed (Inkscape::XML::Node * repr, const gchar * old_content, const gchar * new_content, gpointer data);
NULL, /* child_added */
NULL, /* child_removed */
NULL, /* attr_changed */
NULL /* order_changed */
};
{
/* should we alter the scrolling adjustments here? */
}
void
{
}
if (repr) {
} else {
}
}
sp_xmlview_content_get_type (void)
{
if (!type) {
static const GtkTypeInfo info = {
"SPXMLViewContent",
sizeof (SPXMLViewContent),
sizeof (SPXMLViewContentClass),
};
}
return type;
}
void
{
}
void
{
}
void
{
}
void
event_content_changed (Inkscape::XML::Node * repr, const gchar * old_content, const gchar * new_content, gpointer data)
{
if (new_content) {
gtk_text_buffer_set_text (gtk_text_view_get_buffer (GTK_TEXT_VIEW (text)), new_content, strlen (new_content));
} else {
}
}
void
{
_("Type text in a text node"));
}
}