From 0f56c2445f84fd726f46e2f6f3d11d062ee42ee1 Mon Sep 17 00:00:00 2001 From: gouldtj Date: Wed, 29 Mar 2006 05:38:58 +0000 Subject: [PATCH] r10922@tres: ted | 2006-02-13 09:41:52 -0800 Adding in support for setting the name and tooltip after initalization. --- src/verbs.h | 5 +++++ 1 file changed, 5 insertions(+) diff --git a/src/verbs.h b/src/verbs.h index e79fa6d43..2b4c952e9 100644 --- a/src/verbs.h +++ b/src/verbs.h @@ -304,6 +304,11 @@ public: /** \brief Accessor to get the internal variable. */ gchar const * get_name (void) { return _name; } + /** \brief Set the name after initialization. */ + gchar const * set_name (gchar const * name) { _name = name; return _name; } + /** \brief Set the tooltip after initialization. */ + gchar const * set_tip (gchar const * tip) { _tip = tip; return _tip; } + protected: SPAction * make_action_helper (Inkscape::UI::View::View * view, SPActionEventVector * vector, void * in_pntr = NULL); virtual SPAction * make_action (Inkscape::UI::View::View * view); -- 2.30.2