00001 00006 /* Pidgin is the legal property of its developers, whose names are too numerous 00007 * to list here. Please refer to the COPYRIGHT file distributed with this 00008 * source distribution. 00009 * 00010 * This program is free software; you can redistribute it and/or modify 00011 * it under the terms of the GNU General Public License as published by 00012 * the Free Software Foundation; either version 2, or (at your option) 00013 * any later version. 00014 * 00015 * This program is distributed in the hope that it will be useful, 00016 * but WITHOUT ANY WARRANTY; without even the implied warranty of 00017 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the 00018 * GNU General Public License for more details. 00019 * 00020 * You should have received a copy of the GNU General Public License 00021 * along with this program; if not, write to the Free Software 00022 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA. 00023 */ 00024 #ifndef _PIDGIN_DND_HINTS_H_ 00025 #define _PIDGIN_DND_HINTS_H_ 00026 00027 #include <glib.h> 00028 #include <gtk/gtkwidget.h> 00029 00033 typedef enum 00034 { 00035 HINT_ARROW_UP, 00036 HINT_ARROW_DOWN, 00037 HINT_ARROW_LEFT, 00038 HINT_ARROW_RIGHT 00040 } DndHintWindowId; 00041 00045 typedef enum { 00046 00047 HINT_POSITION_RIGHT, 00048 HINT_POSITION_LEFT, 00049 HINT_POSITION_TOP, 00050 HINT_POSITION_BOTTOM, 00051 HINT_POSITION_CENTER 00053 } DndHintPosition; 00054 00062 void dnd_hints_show(DndHintWindowId id, gint x, gint y); 00063 00069 void dnd_hints_hide(DndHintWindowId id); 00070 00074 void dnd_hints_hide_all(void); 00075 00084 void dnd_hints_show_relative(DndHintWindowId id, GtkWidget *widget, 00085 DndHintPosition horiz, DndHintPosition vert); 00086 00087 #endif /* _PIDGIN_DND_HINTS_H_ */
1.5.5