Inkscape
Vector Graphics Editor
Loading...
Searching...
No Matches
Inkscape::UI::Widget::RegisteredWidget< W > Class Template Reference

#include <registered-widget.h>

Inheritance diagram for Inkscape::UI::Widget::RegisteredWidget< W >:

Public Member Functions

void set_undo_parameters (Glib::ustring _event_description, Glib::ustring _icon_name, std::string undo_id="")
 
void set_xml_target (Inkscape::XML::Node *xml_node, SPDocument *document)
 
bool is_updating () const
 

Protected Member Functions

template<typename ... Args>
 RegisteredWidget (Args &&...args)
 
void init_parent (Glib::ustring const &key, Registry &wr, Inkscape::XML::Node *const repr_in, SPDocument *const doc_in)
 
void write_to_xml (const char *const svgstr)
 

Protected Attributes

Registry_wr = nullptr
 
Glib::ustring _key
 
Inkscape::XML::Noderepr = nullptr
 
SPDocumentdoc = nullptr
 
Glib::ustring event_description
 
Glib::ustring icon_name
 
bool write_undo = false
 
std::string _undo_id
 

Detailed Description

template<class W>
class Inkscape::UI::Widget::RegisteredWidget< W >

Definition at line 53 of file registered-widget.h.

Constructor & Destructor Documentation

◆ RegisteredWidget()

template<class W >
template<typename ... Args>
Inkscape::UI::Widget::RegisteredWidget< W >::RegisteredWidget ( Args &&...  args)
inlineprotected

Definition at line 73 of file registered-widget.h.

Member Function Documentation

◆ init_parent()

◆ is_updating()

template<class W >
bool Inkscape::UI::Widget::RegisteredWidget< W >::is_updating ( ) const
inline

◆ set_undo_parameters()

◆ set_xml_target()

template<class W >
void Inkscape::UI::Widget::RegisteredWidget< W >::set_xml_target ( Inkscape::XML::Node xml_node,
SPDocument document 
)
inline

◆ write_to_xml()

Member Data Documentation

◆ _key

◆ _undo_id

◆ _wr

◆ doc

◆ event_description

◆ icon_name

◆ repr

◆ write_undo


The documentation for this class was generated from the following file: