-#define DEFWIDGETTYPE(_type, _flags, _attribs...) \
-tWidgetDef _widget_typedef_##_type = {.Flags=(_flags),_attribs};\
+#define DEFWIDGETTYPE(_type, _name, _flags, _attribs...) \
+tWidgetDef _widget_typedef_##_type = {.Name=_name,.Flags=(_flags),_attribs};\