summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: 2a34ca4)
raw | patch | inline | side by side (parent: 2a34ca4)
| author | gouldtj <gouldtj@users.sourceforge.net> | |
| Tue, 2 May 2006 05:25:50 +0000 (05:25 +0000) | ||
| committer | gouldtj <gouldtj@users.sourceforge.net> | |
| Tue, 2 May 2006 05:25:50 +0000 (05:25 +0000) |
Adding a function to get the tool tip.
| src/extension/parameter.cpp | patch | blob | history | |
| src/extension/parameter.h | patch | blob | history |
index 59d6ee09c8b0042ee845e6646d06dc838b09b876..ce6c8c272634a19baadfe1558c19da1c3fd270d0 100644 (file)
@@ -481,8 +481,10 @@ Parameter::Parameter (const gchar * name, const gchar * guitext, const gchar * d
{
if (name != NULL)
_name = g_strdup(name);
- if (desc != NULL)
+ if (desc != NULL) {
_desc = g_strdup(desc);
+ // printf("Adding description: '%s' on '%s'\n", _desc, _name);
+ }
if (guitext != NULL)
index 538889cf749083493b7185b46aa9912efe158953..2adea1770c369605b2b48f27a38201d092f7600e 100644 (file)
static Parameter * make (Inkscape::XML::Node * in_repr, Inkscape::Extension::Extension * in_ext);
virtual Gtk::Widget * get_widget (void);
virtual Glib::ustring * string (void);
+ gchar const * get_tooltip (void) { return _desc; }
};