1 /* GTK - The GIMP Toolkit
2  * Copyright 2015  Emmanuele Bassi
3  *
4  * This library is free software; you can redistribute it and/or
5  * modify it under the terms of the GNU Lesser General Public
6  * License as published by the Free Software Foundation; either
7  * version 2 of the License, or (at your option) any later version.
8  *
9  * This library is distributed in the hope that it will be useful,
10  * but WITHOUT ANY WARRANTY; without even the implied warranty of
11  * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
12  * Lesser General Public License for more details.
13  *
14  * You should have received a copy of the GNU Lesser General Public
15  * License along with this library. If not, see <http://www.gnu.org/licenses/>.
16  */
17 
18 /*
19  * Modified by the GTK+ Team and others 1997-2000.  See the AUTHORS
20  * file for a list of people on the GTK+ Team.  See the ChangeLog
21  * files for a list of changes.  These files are distributed with
22  * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
23  */
24 
25 #ifndef __GTK_TOOLTIP_WINDOW_PRIVATE_H__
26 #define __GTK_TOOLTIP_WINDOW_PRIVATE_H__
27 
28 #include <gio/gio.h>
29 #include <gdk-pixbuf/gdk-pixbuf.h>
30 #include <gtk/gtkwindow.h>
31 
32 G_BEGIN_DECLS
33 
34 #define GTK_TYPE_TOOLTIP_WINDOW (gtk_tooltip_window_get_type ())
35 
36 G_DECLARE_FINAL_TYPE (GtkTooltipWindow, gtk_tooltip_window, GTK, TOOLTIP_WINDOW, GtkWindow)
37 
38 GtkWidget *     gtk_tooltip_window_new                          (void);
39 
40 void            gtk_tooltip_window_set_label_markup             (GtkTooltipWindow *window,
41                                                                  const char       *markup);
42 void            gtk_tooltip_window_set_label_text               (GtkTooltipWindow *window,
43                                                                  const char       *text);
44 void            gtk_tooltip_window_set_image_icon               (GtkTooltipWindow *window,
45                                                                  GdkPixbuf        *pixbuf);
46 void            gtk_tooltip_window_set_image_icon_from_stock    (GtkTooltipWindow *window,
47                                                                  const char       *stock_id,
48                                                                  GtkIconSize       icon_size);
49 void            gtk_tooltip_window_set_image_icon_from_name     (GtkTooltipWindow *window,
50                                                                  const char       *icon_name,
51                                                                  GtkIconSize       icon_size);
52 void            gtk_tooltip_window_set_image_icon_from_gicon    (GtkTooltipWindow *window,
53                                                                  GIcon            *gicon,
54                                                                  GtkIconSize       icon_size);
55 void            gtk_tooltip_window_set_custom_widget            (GtkTooltipWindow *window,
56                                                                  GtkWidget        *custom_widget);
57 
58 G_END_DECLS
59 
60 #endif /* __GTK_TOOLTIP_WINDOW_PRIVATE_H__ */
61