summaryrefslogtreecommitdiffstats
path: root/src/ui/widget/custom-tooltip.h
blob: 32647bc9b9f1673e35ffbae6a8ab191e5c051032 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
// SPDX-License-Identifier: GPL-2.0-or-later

#ifndef INKSCAPE_UI_WIDGET_CUSTOM_TOOLTIP_H
#define INKSCAPE_UI_WIDGET_CUSTOM_TOOLTIP_H

#include <gtkmm/tooltip.h>

void sp_clear_custom_tooltip();

bool
sp_query_custom_tooltip(
    int x, 
    int y, 
    bool keyboard_tooltip, 
    const Glib::RefPtr<Gtk::Tooltip>& tooltipw, 
    gint id, 
    Glib::ustring tooltip, 
    Glib::ustring icon = "", 
    Gtk::IconSize iconsize = Gtk::ICON_SIZE_DIALOG, 
    int delaytime = 1000.0);

#endif // INKSCAPE_UI_WIDGET_CUSTOM_TOOLTIP_H