summaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2006-03-29 05:38:58 +0000
committergouldtj <gouldtj@users.sourceforge.net>2006-03-29 05:38:58 +0000
commitdd99ba79af0d0b9f13f746ee7b051b72700d809f (patch)
tree52fd6381574a81c3ee8bc17b0ddcda9580b17614 /src
parentr10921@tres: ted | 2006-02-13 09:40:25 -0800 (diff)
downloadinkscape-dd99ba79af0d0b9f13f746ee7b051b72700d809f.tar.gz
inkscape-dd99ba79af0d0b9f13f746ee7b051b72700d809f.zip
r10922@tres: ted | 2006-02-13 09:41:52 -0800
Adding in support for setting the name and tooltip after initalization. (bzr r335)
Diffstat (limited to 'src')
-rw-r--r--src/verbs.h5
1 files changed, 5 insertions, 0 deletions
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);