| 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_list_events.h |
| 21 |
* |
| 22 |
* @author Kai Sterker |
| 23 |
* @brief Event-callbacks for the instant dialogue preview |
| 24 |
*/ |
| 25 |
|
| 26 |
#ifndef GUI_LIST_EVENTS_H |
| 27 |
#define GUI_LIST_EVENTS_H |
| 28 |
|
| 29 |
#include <gtk/gtk.h> |
| 30 |
#include <gdk/gdk.h> |
| 31 |
|
| 32 |
/** |
| 33 |
* Callback notifying that the user selected one of the list items. |
| 34 |
*/ |
| 35 |
void on_list_select (GtkTreeSelection *selection, gpointer user_data); |
| 36 |
|
| 37 |
/** |
| 38 |
* Callback to resize the text to the new list size |
| 39 |
*/ |
| 40 |
void on_list_resize (GtkWidget *widget, GdkRectangle *allocation, gpointer data); |
| 41 |
|
| 42 |
#endif // GUI_LIST_EVENTS_H |