|
|
|
@ -110,8 +110,8 @@ void Tooltip::show(bool disregard_drawn, const std::function<void()> &on_motion) |
|
|
|
tooltip_text_view->get_style_context()->add_class("juci_tooltip_text_view"); |
|
|
|
tooltip_text_view->get_style_context()->add_class("juci_tooltip_text_view"); |
|
|
|
tooltip_text_view->set_editable(false); |
|
|
|
tooltip_text_view->set_editable(false); |
|
|
|
|
|
|
|
|
|
|
|
static auto link_mouse_cursor = Gdk::Cursor::create(Gdk::CursorType::HAND1); |
|
|
|
static auto link_mouse_cursor = Gdk::Cursor::create(window->get_display(), Gdk::CursorType::HAND1); |
|
|
|
static auto default_mouse_cursor = Gdk::Cursor::create(Gdk::CursorType::XTERM); |
|
|
|
static auto default_mouse_cursor = Gdk::Cursor::create(window->get_display(), Gdk::CursorType::XTERM); |
|
|
|
tooltip_text_view->signal_motion_notify_event().connect([this, tooltip_text_view](GdkEventMotion *event) { |
|
|
|
tooltip_text_view->signal_motion_notify_event().connect([this, tooltip_text_view](GdkEventMotion *event) { |
|
|
|
Gtk::TextIter iter; |
|
|
|
Gtk::TextIter iter; |
|
|
|
int location_x, location_y; |
|
|
|
int location_x, location_y; |
|
|
|
|