sp-xmlview-attr-list.cpp revision e3b6cd4b0523f08a6414dc0800a15a3b1710ce8a
/*
* Specialization of GtkCList for the XML tree view
*
* Authors:
* MenTaLguY <mental@rydia.net>
*
* Copyright (C) 2002 MenTaLguY
*
* Released under the GNU GPL; see COPYING for details
*/
#ifdef HAVE_CONFIG_H
# include <config.h>
#endif
#include <cstring>
#include "helper/sp-marshal.h"
#include "../xml/node-event-vector.h"
#include "sp-xmlview-attr-list.h"
static void event_attr_changed (Inkscape::XML::Node * repr, const gchar * name, const gchar * old_value, const gchar * new_value, bool is_interactive, gpointer data);
NULL, /* child_added */
NULL, /* child_removed */
NULL, /* content_changed */
NULL /* order_changed */
};
{
}
void
{
}
if (repr) {
}
}
{
if (!type) {
sizeof(SPXMLViewAttrListClass),
0, // base_init
0, // base_finalize
0, // class_finalize
0, // class_data
sizeof(SPXMLViewAttrList),
0, // n_preallocs
0 // value_table
};
type = g_type_register_static(GTK_TYPE_CLIST, "SPXMLViewAttrList", &info, static_cast<GTypeFlags>(0));
}
return type;
}
void
{
g_signal_new ( "row-value-changed",
G_TYPE_NONE, 1,
}
void
{
}
void
{
}
void
const gchar * /*old_value*/,
bool /*is_interactive*/,
{
if (new_value) {
}
} else {
}
row = gtk_clist_find_row_from_data (GTK_CLIST (list), GINT_TO_POINTER (g_quark_from_string (name)));
if (row != -1) {
if (new_value) {
} else {
}
}
// send a "changed" signal so widget owners will know I've updated
}