#include <string.h>
#include <stdlib.h>
#include <glib.h>

#include "entity.h"


void
string_renderer_register (void)
{
    Element *element;
    ElementAttr *e_attr;

    element = g_new0 (Element, 1);
    element->tag = "string";
    element->description =
	"Create a new string.  This is only really useful in context with other elements.  It is not a widget, but is used by some.";
    element_register (element);

    e_attr = g_new0 (ElementAttr, 1);
    e_attr->attribute = "text";
    e_attr->description = "The string.";
    e_attr->value_desc = "string";
    e_attr->set_attr_func = NULL;
    element_register_attrib (element, e_attr);
}


syntax highlighted by Code2HTML, v. 0.9.1