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.
23 #include <gtk/gtktypeutils.h>
28 #endif /* __cplusplus */
33 typedef struct _GtkArgInfo GtkArgInfo;
37 /* hash key portion */
51 /* Non-public methods */
53 GtkArg* gtk_arg_new (GtkType arg_type);
54 GtkArg* gtk_arg_copy (GtkArg *src_arg,
56 void gtk_arg_free (GtkArg *arg,
57 gboolean free_contents);
58 gchar* gtk_args_collect (GtkType object_type,
59 GHashTable *arg_info_hash_table,
62 const gchar *first_arg_name,
64 void gtk_args_collect_cleanup (GSList *arg_list,
66 gchar* gtk_arg_get_info (GtkType object_type,
67 GHashTable *arg_info_hash_table,
68 const gchar *arg_name,
70 GtkArgInfo* gtk_arg_type_new_static (GtkType base_class_type,
71 const gchar *arg_name,
72 guint class_n_args_offset,
73 GHashTable *arg_info_hash_table,
77 GtkArg* gtk_args_query (GtkType class_type,
78 GHashTable *arg_info_hash_table,
81 gchar* gtk_arg_name_strip_type (const gchar *arg_name);
82 gint gtk_arg_info_equal (gconstpointer arg_info_1,
83 gconstpointer arg_info_2);
84 guint gtk_arg_info_hash (gconstpointer arg_info);
91 #endif /* __cplusplus */
94 #endif /* __GTK_ARG_H__ */