1 /* GTK - The GIMP Toolkit
2 * Copyright (C) 1995-1997 Peter Mattis, Spencer Kimball and Josh MacDonald
4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version.
9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
11 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
12 * Library General Public License for more details.
14 * You should have received a copy of the GNU Library General Public
15 * License along with this library; if not, write to the
16 * Free Software Foundation, Inc., 59 Temple Place - Suite 330,
17 * Boston, MA 02111-1307, USA.
21 * Modified by the GTK+ Team and others 1997-1999. See the AUTHORS
22 * file for a list of people on the GTK+ Team. See the ChangeLog
23 * files for a list of changes. These files are distributed with
24 * GTK+ at ftp://ftp.gtk.org/pub/gtk/.
31 #include <gtk/gtktypeutils.h>
36 #endif /* __cplusplus */
41 typedef struct _GtkArgInfo GtkArgInfo;
45 /* hash key portion */
59 /* Non-public methods */
61 GtkArg* gtk_arg_new (GtkType arg_type);
62 GtkArg* gtk_arg_copy (GtkArg *src_arg,
64 void gtk_arg_free (GtkArg *arg,
65 gboolean free_contents);
66 gchar* gtk_args_collect (GtkType object_type,
67 GHashTable *arg_info_hash_table,
70 const gchar *first_arg_name,
72 void gtk_args_collect_cleanup (GSList *arg_list,
74 gchar* gtk_arg_get_info (GtkType object_type,
75 GHashTable *arg_info_hash_table,
76 const gchar *arg_name,
78 GtkArgInfo* gtk_arg_type_new_static (GtkType base_class_type,
79 const gchar *arg_name,
80 guint class_n_args_offset,
81 GHashTable *arg_info_hash_table,
85 GtkArg* gtk_args_query (GtkType class_type,
86 GHashTable *arg_info_hash_table,
89 gchar* gtk_arg_name_strip_type (const gchar *arg_name);
90 gint gtk_arg_info_equal (gconstpointer arg_info_1,
91 gconstpointer arg_info_2);
92 guint gtk_arg_info_hash (gconstpointer arg_info);
99 #endif /* __cplusplus */
102 #endif /* __GTK_ARG_H__ */