2#ifndef SEEN_SP_SWITCH_H
3#define SEEN_SP_SWITCH_H
17#include <sigc++/connection.h>
25 int tag()
const override {
return tag_of<
decltype(*this)>; }
43 const char*
typeName()
const override;
constexpr int tag_of
Convenience function to retrieve the tag (class id) of a given type.
SVG drawing item for display.
Interface for refcounted XML nodes.
SPObject is an abstract base class of all of the document nodes at the SVG document level.
gchar * description() const override
void _showChildren(Inkscape::Drawing &drawing, Inkscape::DrawingItem *ai, unsigned int key, unsigned int flags) override
std::vector< SPObject * > _childList(bool add_ref, SPObject::Action action)
void _releaseLastItem(SPObject *obj)
static void _releaseItem(SPObject *obj, SPSwitch *selection)
sigc::connection _release_connection
const char * typeName() const override
The item's type name, not node tag name.
void _reevaluate(bool add_to_arena=false)
void order_changed(Inkscape::XML::Node *child, Inkscape::XML::Node *old_ref, Inkscape::XML::Node *new_ref) override
void remove_child(Inkscape::XML::Node *child) override
void child_added(Inkscape::XML::Node *child, Inkscape::XML::Node *ref) override
void resetChildEvaluated()
const char * displayName() const override
The item's type name as a translated human string.
SPObject * _evaluateFirst()
static cairo_user_data_key_t key