Debian Codegraph @

src/tools/dlgedit/gui_graph_events.h

raw
1 /*
2 Copyright (C) 2002 Kai Sterker <[email protected]>
3 Part of the Adonthell Project <http://adonthell.nongnu.org>
4
5 Dlgedit 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 of the License, or
8 (at your option) any later version.
9
10 Dlgedit 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.
14
15 You should have received a copy of the GNU General Public License
16 along with Dlgedit. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19 /**
20 * @file gui_graph_events.h
21 *
22 * @author Kai Sterker
23 * @brief Event-callbacks for the dialogue graph view
24 */
25
26 #ifndef GUI_GRAPH_EVENTS_H
27 #define GUI_GRAPH_EVENTS_H
28
29 #include <gtk/gtk.h>
30 #include <gdk/gdk.h>
31
32 /**
33 * Callback notifying that the widget's size has changed.
34 */
35 gint configure_event (GtkWidget *, GdkEventConfigure *, gpointer);
36 /**
37 * Callback indicating that the widget needs to be redrawn.
38 */
39 gint expose_event (GtkWidget *, GdkEventExpose *, gpointer);
40 /**
41 * Callback indicating that a mouse button has been pressed.
42 */
43 gint button_press_event (GtkWidget *, GdkEventButton *, gpointer);
44 /**
45 * Callback indicating that a mouse button has been released.
46 */
47 gint button_release_event (GtkWidget *, GdkEventButton *, gpointer);
48 /**
49 * Callback indicating that the mouse has been moved.
50 */
51 gint motion_notify_event (GtkWidget *, GdkEventMotion *, gpointer);
52 /**
53 * Callback indicating that a key has been pushed.
54 */
55 guint key_press_notify_event (GtkWidget *, GdkEventKey *, gpointer);
56
57 #endif // GUI_GRAPH_EVENTS_H