summary | shortlog | log | commit | commitdiff | tree
raw | patch | inline | side by side (parent: a486e56)
raw | patch | inline | side by side (parent: a486e56)
author | rwst <rwst@users.sourceforge.net> | |
Tue, 31 Jan 2006 18:55:59 +0000 (18:55 +0000) | ||
committer | rwst <rwst@users.sourceforge.net> | |
Tue, 31 Jan 2006 18:55:59 +0000 (18:55 +0000) |
src/ui/widget/tolerance-slider.cpp | patch | blob | history | |
src/ui/widget/tolerance-slider.h | patch | blob | history |
index dcb6738ac5bdfebcc6c694744dd9699d685ecb37..1ea90a7eeb75683c14b9951b84b8cd5886f7858a 100644 (file)
_hscale->set_draw_value (true);
_hscale->set_value_pos (Gtk::POS_RIGHT);
_hscale->set_size_request (100, -1);
+ _tt.set_tip (*_hscale, tip);
_hbox->add (*_hscale);
// Gtk::Label *theLabel2 = manage (new Gtk::Label (label2));
// _hbox->add (*theLabel2);
index 92239265d0dfa477582f7acb4d347cb1f474975f..9860f1e4a84b19a9d27f7114c1edbd21609ec710 100644 (file)
#ifndef INKSCAPE_UI_WIDGET_TOLERANCE_SLIDER__H_
#define INKSCAPE_UI_WIDGET_TOLERANCE_SLIDER__H_
+#include <gtkmm/tooltips.h>
namespace Inkscape {
namespace UI {
void update();
sigc::connection _scale_changed_connection;
Gtk::HScale *_hscale;
+ Gtk::Tooltips _tt;
Registry *_wr;
Glib::ustring _key;
};