gtktypes.h 2.48 KB
Newer Older
Benjamin Otte's avatar
Benjamin Otte committed
1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24
/* GDK - The GIMP Drawing Kit
 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
 *
 * This library is free software; you can redistribute it and/or
 * modify it under the terms of the GNU Lesser General Public
 * License as published by the Free Software Foundation; either
 * version 2 of the License, or (at your option) any later version.
 *
 * This library is distributed in the hope that it will be useful,
 * but WITHOUT ANY WARRANTY; without even the implied warranty of
 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the GNU
 * Lesser General Public License for more details.
 *
 * You should have received a copy of the GNU Lesser General Public
 * License along with this library. If not, see <http://www.gnu.org/licenses/>.
 */

/*
 * Modified by the GTK+ Team and others 1997-2000.  See the AUTHORS
 * file for a list of people on the GTK+ Team.  See the ChangeLog
 * files for a list of changes.  These files are distributed with
 * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
 */

25 26 27
#ifndef __GTK_TYPES_H__
#define __GTK_TYPES_H__

Benjamin Otte's avatar
Benjamin Otte committed
28 29 30 31 32 33
#if !defined (__GTK_H_INSIDE__) && !defined (GTK_COMPILATION)
#error "Only <gtk/gtk.h> can be included directly."
#endif

G_BEGIN_DECLS

34
typedef struct _GtkAdjustment          GtkAdjustment;
35
typedef struct _GtkBuilder             GtkBuilder;
36
typedef struct _GtkClipboard	       GtkClipboard;
37 38 39
typedef struct _GtkIconSet             GtkIconSet;
typedef struct _GtkIconSource          GtkIconSource;
typedef struct _GtkRcStyle             GtkRcStyle;
40 41
typedef struct _GtkRequisition	       GtkRequisition;
typedef struct _GtkSelectionData       GtkSelectionData;
42 43 44
typedef struct _GtkSettings            GtkSettings;
typedef struct _GtkStyle               GtkStyle;
typedef struct _GtkStyleContext        GtkStyleContext;
45 46 47 48
typedef struct _GtkTooltip             GtkTooltip;
typedef struct _GtkWidget              GtkWidget;
typedef struct _GtkWidgetPath          GtkWidgetPath;
typedef struct _GtkWindow              GtkWindow;
Benjamin Otte's avatar
Benjamin Otte committed
49

50 51 52 53 54

typedef gboolean (*GtkRcPropertyParser) (const GParamSpec *pspec,
                                         const GString    *rc_string,
                                         GValue           *property_value);

55 56 57 58 59 60 61 62
typedef void (*GtkBuilderConnectFunc) (GtkBuilder    *builder,
				       GObject       *object,
				       const gchar   *signal_name,
				       const gchar   *handler_name,
				       GObject       *connect_object,
				       GConnectFlags  flags,
				       gpointer       user_data);

Benjamin Otte's avatar
Benjamin Otte committed
63 64 65
G_END_DECLS

#endif /* __GTK_TYPES_H__ */