1/* Gtk+ testing utilities
2 * Copyright (C) 2007 Imendio AB
3 * Authors: Tim Janik
4 *
5 * This library is free software; you can redistribute it and/or
6 * modify it under the terms of the GNU Lesser General Public
7 * License as published by the Free Software Foundation; either
8 * version 2 of the License, or (at your option) any later version.
9 *
10 * This library 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 GNU
13 * Lesser General Public License for more details.
14 *
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
17 */
18
19#ifndef __GTK_TEST_UTILS_H__
20#define __GTK_TEST_UTILS_H__
21
22#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
23#error "Only <gtk/gtk.h> can be included directly."
24#endif
25
26#include <gtk/gtkwidget.h>
27#include <gtk/gtkspinbutton.h>
28
29G_BEGIN_DECLS
30
31/* --- Gtk+ Test Utility API --- */
32GDK_AVAILABLE_IN_ALL
33void gtk_test_init (int *argcp,
34 char ***argvp,
35 ...);
36GDK_AVAILABLE_IN_ALL
37void gtk_test_register_all_types (void);
38GDK_AVAILABLE_IN_ALL
39const GType* gtk_test_list_all_types (guint *n_types);
40GDK_AVAILABLE_IN_ALL
41void gtk_test_widget_wait_for_draw (GtkWidget *widget);
42
43G_END_DECLS
44
45#endif /* __GTK_TEST_UTILS_H__ */
46

source code of gtk/gtk/gtktestutils.h