Add deleted HTTP digest functions to ChangeLog.API.
[pidgin-git.git] / pidgin / gtkdnd-hints.h
blob78856c0ad1a23f6559fc0ee52646cc4d194b6455
1 /* Pidgin is the legal property of its developers, whose names are too numerous
2 * to list here. Please refer to the COPYRIGHT file distributed with this
3 * source distribution.
5 * This program is free software; you can redistribute it and/or modify
6 * it under the terms of the GNU General Public License as published by
7 * the Free Software Foundation; either version 2, or (at your option)
8 * any later version.
10 * This program is distributed in the hope that it will be useful,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
13 * GNU General Public License for more details.
15 * You should have received a copy of the GNU General Public License
16 * along with this program; if not, write to the Free Software
17 * Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02111-1301, USA.
20 #ifndef _PIDGIN_DND_HINTS_H_
21 #define _PIDGIN_DND_HINTS_H_
22 /**
23 * SECTION:gtkdnd-hints
24 * @section_id: pidgin-gtkdnd-hints
25 * @short_description: <filename>gtkdnd-hints.h</filename>
26 * @title: Drag-and-Drop Arrow Hints
29 #include <glib.h>
30 #include <gtk/gtk.h>
32 /**
33 * PidginDndHintWindowId:
34 * @HINT_ARROW_UP: Up arrow.
35 * @HINT_ARROW_DOWN: Down arrow.
36 * @HINT_ARROW_LEFT: Left arrow.
37 * @HINT_ARROW_RIGHT: Right arrow.
39 * Conversation drag-and-drop arrow types.
41 typedef enum
43 HINT_ARROW_UP,
44 HINT_ARROW_DOWN,
45 HINT_ARROW_LEFT,
46 HINT_ARROW_RIGHT
48 } PidginDndHintWindowId;
50 /**
51 * PidginDndHintPosition:
52 * @HINT_POSITION_RIGHT: Position to the right of a tab.
53 * @HINT_POSITION_LEFT: Position to the left of a tab.
54 * @HINT_POSITION_TOP: Position above a tab.
55 * @HINT_POSITION_BOTTOM: Position below a tab.
56 * @HINT_POSITION_CENTER: Position in the center of a tab.
58 * Conversation drag-and-drop arrow positions.
60 typedef enum {
62 HINT_POSITION_RIGHT,
63 HINT_POSITION_LEFT,
64 HINT_POSITION_TOP,
65 HINT_POSITION_BOTTOM,
66 HINT_POSITION_CENTER
68 } PidginDndHintPosition;
70 G_BEGIN_DECLS
72 /**
73 * pidgin_dnd_hints_show:
74 * @id: The ID of the hint to show.
75 * @x: The X location to show it at.
76 * @y: The Y location to show it at.
78 * Shows a drag-and-drop hint at the specified location.
80 void pidgin_dnd_hints_show(PidginDndHintWindowId id, gint x, gint y);
82 /**
83 * pidgin_dnd_hints_hide:
84 * @id: The ID of the hint to hide.
86 * Hides the specified drag-and-drop hint.
88 void pidgin_dnd_hints_hide(PidginDndHintWindowId id);
90 /**
91 * pidgin_dnd_hints_hide_all:
93 * Hides all drag-and-drop hints.
95 void pidgin_dnd_hints_hide_all(void);
97 /**
98 * pidgin_dnd_hints_show_relative:
99 * @id: The ID of the hint.
100 * @widget: The widget that the hint is relative to.
101 * @horiz: The horizontal relative position.
102 * @vert: The vertical relative position.
104 * Shows a drag-and-drop hint relative to a widget.
106 void pidgin_dnd_hints_show_relative(PidginDndHintWindowId id, GtkWidget *widget,
107 PidginDndHintPosition horiz, PidginDndHintPosition vert);
109 G_END_DECLS
111 #endif /* _PIDGIN_DND_HINTS_H_ */