Github User Fetcher 1.0.0
C Application with Server and GUI
Loading...
Searching...
No Matches
gtktooltip.h
Go to the documentation of this file.
1/* gtktooltip.h
2 *
3 * Copyright (C) 2006-2007 Imendio AB
4 * Contact: Kristian Rietveld <kris@imendio.com>
5 *
6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version.
10 *
11 * This library is distributed in the hope that it will be useful,
12 * but WITHOUT ANY WARRANTY; without even the implied warranty of
13 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
14 * Library General Public License for more details.
15 *
16 * You should have received a copy of the GNU Library General Public
17 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
18 */
19
20#pragma once
21
22#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
23#error "Only <gtk/gtk.h> can be included directly."
24#endif
25
26#include <gtk/gtkwindow.h>
27
29
30#define GTK_TYPE_TOOLTIP (gtk_tooltip_get_type ())
31#define GTK_TOOLTIP(obj) (G_TYPE_CHECK_INSTANCE_CAST ((obj), GTK_TYPE_TOOLTIP, GtkTooltip))
32#define GTK_IS_TOOLTIP(obj) (G_TYPE_CHECK_INSTANCE_TYPE ((obj), GTK_TYPE_TOOLTIP))
33
36
39 const char *markup);
42 const char *text);
45 GdkPaintable *paintable);
48 const char *icon_name);
51 GIcon *gicon);
54 GtkWidget *custom_widget);
55
58 const GdkRectangle *rect);
59
61
63
#define GDK_AVAILABLE_IN_ALL
struct _GIcon GIcon
Definition giotypes.h:92
#define G_END_DECLS
Definition gmacros.h:910
#define G_BEGIN_DECLS
Definition gmacros.h:909
#define G_DEFINE_AUTOPTR_CLEANUP_FUNC(TypeName, func)
Definition gmacros.h:1400
GOBJECT_AVAILABLE_IN_ALL void g_object_unref(gpointer object)
GDK_AVAILABLE_IN_ALL GType gtk_tooltip_get_type(void)
GDK_AVAILABLE_IN_ALL void gtk_tooltip_set_markup(GtkTooltip *tooltip, const char *markup)
GDK_AVAILABLE_IN_ALL void gtk_tooltip_set_text(GtkTooltip *tooltip, const char *text)
GDK_AVAILABLE_IN_ALL void gtk_tooltip_set_tip_area(GtkTooltip *tooltip, const GdkRectangle *rect)
GDK_AVAILABLE_IN_ALL void gtk_tooltip_set_icon(GtkTooltip *tooltip, GdkPaintable *paintable)
GDK_AVAILABLE_IN_ALL void gtk_tooltip_set_custom(GtkTooltip *tooltip, GtkWidget *custom_widget)
GDK_AVAILABLE_IN_ALL void gtk_tooltip_set_icon_from_gicon(GtkTooltip *tooltip, GIcon *gicon)
GDK_AVAILABLE_IN_ALL void gtk_tooltip_set_icon_from_icon_name(GtkTooltip *tooltip, const char *icon_name)
struct _GtkTooltip GtkTooltip
Definition gtktypes.h:62
gsize GType
Definition gtype.h:427