summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 8bc547b)
raw | patch | inline | side by side (parent: 8bc547b)
author | gouldtj <gouldtj@users.sourceforge.net> | |
Wed, 29 Mar 2006 05:38:58 +0000 (05:38 +0000) | ||
committer | gouldtj <gouldtj@users.sourceforge.net> | |
Wed, 29 Mar 2006 05:38:58 +0000 (05:38 +0000) |
Adding in support for setting the name and tooltip after initalization.
src/verbs.h | patch | blob | history |
diff --git a/src/verbs.h b/src/verbs.h
index e79fa6d43621cc98e98167051352499996bdfff0..2b4c952e9c9c590c11cd129dbad3854f9955da3a 100644 (file)
--- a/src/verbs.h
+++ b/src/verbs.h
/** \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);