protected: \
const RAttrMap &GetDefaults() const override \
{ \
static auto dflts = RAttrMap().dflt_values; \
return dflts; \
} \
public: \
ClassName() = default; \
ClassName(RDrawable *drawable, const std::string &prefix = dflt_prefix) { AssignDrawable(drawable, prefix); } \
ClassName(RAttrBase *parent, const std::string &prefix = dflt_prefix) { AssignParent(parent, prefix); } \
{ \
Clear(); \
src.CopyTo(*this); \
return *this; \
}
Binding & operator=(OUT(*fun)(void))
const std::string ClassName(PyObject *pyobj)
Retrieve the class name from the given python object (which may be just an instance of the class).