X-Git-Url: http://pileus.org/git/?a=blobdiff_plain;f=gtk%2Fgtktooltip.h;h=daa4a3e69f9d8029e13f25be8ab21abb1a83907f;hb=e1edc998a2e9c557030d207533932b3120e13fe5;hp=be2bd40b4d61aa9cffab0ae7f3532f5123ee7bec;hpb=d0c713bfee6d532442d097a32415dd340dd66056;p=~andy%2Fgtk
diff --git a/gtk/gtktooltip.h b/gtk/gtktooltip.h
index be2bd40b4..daa4a3e69 100644
--- a/gtk/gtktooltip.h
+++ b/gtk/gtktooltip.h
@@ -14,19 +14,16 @@
* Library General Public License for more details.
*
* You should have received a copy of the GNU Library General Public
- * License along with this library; if not, write to the
- * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
- * Boston, MA 02111-1307, USA.
+ * License along with this library. If not, see .
*/
-#if defined(GTK_DISABLE_SINGLE_INCLUDES) && !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
-#error "Only can be included directly."
-#endif
-
#ifndef __GTK_TOOLTIP_H__
#define __GTK_TOOLTIP_H__
-#include
+#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
+#error "Only can be included directly."
+#endif
+
#include
G_BEGIN_DECLS
@@ -49,6 +46,9 @@ void gtk_tooltip_set_icon_from_stock (GtkTooltip *tooltip,
void gtk_tooltip_set_icon_from_icon_name (GtkTooltip *tooltip,
const gchar *icon_name,
GtkIconSize size);
+void gtk_tooltip_set_icon_from_gicon (GtkTooltip *tooltip,
+ GIcon *gicon,
+ GtkIconSize size);
void gtk_tooltip_set_custom (GtkTooltip *tooltip,
GtkWidget *custom_widget);
@@ -64,6 +64,12 @@ void _gtk_tooltip_toggle_keyboard_mode (GtkWidget *widget);
void _gtk_tooltip_handle_event (GdkEvent *event);
void _gtk_tooltip_hide (GtkWidget *widget);
+GtkWidget * _gtk_widget_find_at_coords (GdkWindow *window,
+ gint window_x,
+ gint window_y,
+ gint *widget_x,
+ gint *widget_y);
+
G_END_DECLS
#endif /* __GTK_TOOLTIP_H__ */