1 /* GTK - The GIMP Toolkit
2 * Copyright 1998-2002 Tim Janik, Red Hat, Inc., and others.
3 * Copyright (C) 2003 Alex Graveley
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.
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.
15 * You should have received a copy of the GNU Lesser General Public
16 * License along with this library; if not, write to the
17 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
18 * Boston, MA 02111-1307, USA.
21 #if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
22 #error "Only <gtk/gtk.h> can be included directly."
25 #ifndef __GTK_MODULES_H__
26 #define __GTK_MODULES_H__
34 * @argc: (allow-none): GTK+ always passes %NULL for this argument
35 * @argv: (allow-none) (array length=argc): GTK+ always passes %NULL for this argument
37 * Each GTK+ module must have a function gtk_module_init()
38 * with this prototype. This function is called after loading
41 typedef void (*GtkModuleInitFunc) (gint *argc,
45 * GtkModuleDisplayInitFunc:
46 * @display: an open #GdkDisplay
48 * A multihead-aware GTK+ module may have a gtk_module_display_init()
49 * function with this prototype. GTK+ calls this function for each
54 typedef void (*GtkModuleDisplayInitFunc) (GdkDisplay *display);
60 #endif /* __GTK_MODULES_H__ */