forked from AuroraMiddleware/gtk
347efc33b8
Fri Jul 10 00:02:04 1998 Tim Janik <timj@gtk.org> * gtk/gtkcontainer.h: * gtk/gtkcontainer.c: deleted most of the argument handling code, since that is now implemented in gtkarg.c. similar to gtk_object_args_collect, we now export a new function gtk_container_child_args_collect(). for consistency with the object arguments, a few functions got renamed: gtk_container_child_arg_get -> gtk_container_child_get, gtk_container_child_arg_set -> gtk_container_child_set, gtk_container_child_arg_getv -> gtk_container_child_getv, gtk_container_child_arg_setv -> gtk_container_child_setv, gtk_container_add_with_argv -> gtk_container_addv. note, gtk_container_add_with_args() remained, because its equivalent would be gtk_container_add(,, ...) which would break all existing code. (gtk_container_add_child_arg_type): similar to gtk_object_add_arg_type, we expect the `arg_name' argument to be a const static string now. (gtk_container_get_child_arg_type): function removed. Thu Jul 9 07:03:04 1998 Tim Janik <timj@gtk.org> * gtk/gtkargcollector.c: new file which holds gtk_arg_collect_value(). this is a static inline function that collects command line arguments from a va_list. this file can just be included in all places that need this functionality. * gtk/gtkarg.h: * gtk/gtkarg.c: new files which implement most of the argument handling stuff from gtkobject.c. also collected a few more gtk_arg_* utility functions from else places. * gtk/gtkobject.h: * gtk/gtkobject.c: moved most of the argument handling code into gtkarg.c. we now export gtk_object_args_collect() as a non-public method with a blind va_list pointer. (gtk_object_add_arg_type): the `arg_name' argument is required to be a const static string now. (gtk_object_get_arg_type): function got removed. * gtk/gtkwidget.c: (gtk_widget_set): (gtk_widget_new): adaptions for gtk_object_args_collect(). * gtk/gtktypeutils.c (gtk_type_init_builtin_types): changed the internal fundamental type name so as to have a valid prefix, e.g. "bool"-> "gboolean", "string"->"GtkString" and somesuch, left "void" as is, though that should probably be something like GtkNone since the type itself is called GTK_TYPE_NONE. even the internal type names need to avoid name clashes and must live in their own namespace, several code portions rely on that. we should relly have typedefs such as typedef gchar* GtkString; so the fundamental type names can be used for code dumpers just like with all the Gtk/Gdk types.
124 lines
3.6 KiB
C
124 lines
3.6 KiB
C
/* GTK - The GIMP Toolkit
|
|
* 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 Library 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
|
|
* Library General Public License for more details.
|
|
*
|
|
* You should have received a copy of the GNU Library General Public
|
|
* License along with this library; if not, write to the
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
* Boston, MA 02111-1307, USA.
|
|
*/
|
|
#ifndef __GTK_H__
|
|
#define __GTK_H__
|
|
|
|
|
|
#include <gdk/gdk.h>
|
|
#include <gtk/gtkaccelgroup.h>
|
|
#include <gtk/gtkaccellabel.h>
|
|
#include <gtk/gtkadjustment.h>
|
|
#include <gtk/gtkalignment.h>
|
|
#include <gtk/gtkarg.h>
|
|
#include <gtk/gtkaspectframe.h>
|
|
#include <gtk/gtkarrow.h>
|
|
#include <gtk/gtkbin.h>
|
|
#include <gtk/gtkbindings.h>
|
|
#include <gtk/gtkbox.h>
|
|
#include <gtk/gtkbbox.h>
|
|
#include <gtk/gtkbutton.h>
|
|
#include <gtk/gtkcheckbutton.h>
|
|
#include <gtk/gtkcheckmenuitem.h>
|
|
#include <gtk/gtkclist.h>
|
|
#include <gtk/gtkcolorsel.h>
|
|
#include <gtk/gtkcombo.h>
|
|
#include <gtk/gtkcontainer.h>
|
|
#include <gtk/gtkctree.h>
|
|
#include <gtk/gtkcurve.h>
|
|
#include <gtk/gtkdata.h>
|
|
#include <gtk/gtkdialog.h>
|
|
#include <gtk/gtkdrawingarea.h>
|
|
#include <gtk/gtkeditable.h>
|
|
#include <gtk/gtkentry.h>
|
|
#include <gtk/gtkenums.h>
|
|
#include <gtk/gtkeventbox.h>
|
|
#include <gtk/gtkfeatures.h>
|
|
#include <gtk/gtkfilesel.h>
|
|
#include <gtk/gtkfixed.h>
|
|
#include <gtk/gtkfontsel.h>
|
|
#include <gtk/gtkframe.h>
|
|
#include <gtk/gtkgamma.h>
|
|
#include <gtk/gtkgc.h>
|
|
#include <gtk/gtkhandlebox.h>
|
|
#include <gtk/gtkhbox.h>
|
|
#include <gtk/gtkhbbox.h>
|
|
#include <gtk/gtkhpaned.h>
|
|
#include <gtk/gtkhruler.h>
|
|
#include <gtk/gtkhscale.h>
|
|
#include <gtk/gtkhscrollbar.h>
|
|
#include <gtk/gtkhseparator.h>
|
|
#include <gtk/gtkimage.h>
|
|
#include <gtk/gtkinputdialog.h>
|
|
#include <gtk/gtkitem.h>
|
|
#include <gtk/gtkitemfactory.h>
|
|
#include <gtk/gtklabel.h>
|
|
#include <gtk/gtklist.h>
|
|
#include <gtk/gtklistitem.h>
|
|
#include <gtk/gtkmain.h>
|
|
#include <gtk/gtkmenu.h>
|
|
#include <gtk/gtkmenubar.h>
|
|
#include <gtk/gtkmenufactory.h>
|
|
#include <gtk/gtkmenuitem.h>
|
|
#include <gtk/gtkmenushell.h>
|
|
#include <gtk/gtkmisc.h>
|
|
#include <gtk/gtknotebook.h>
|
|
#include <gtk/gtkobject.h>
|
|
#include <gtk/gtkoptionmenu.h>
|
|
#include <gtk/gtkpacker.h>
|
|
#include <gtk/gtkpaned.h>
|
|
#include <gtk/gtkpixmap.h>
|
|
#include <gtk/gtkpreview.h>
|
|
#include <gtk/gtkprogressbar.h>
|
|
#include <gtk/gtkradiobutton.h>
|
|
#include <gtk/gtkradiomenuitem.h>
|
|
#include <gtk/gtkrange.h>
|
|
#include <gtk/gtkrc.h>
|
|
#include <gtk/gtkruler.h>
|
|
#include <gtk/gtkscale.h>
|
|
#include <gtk/gtkscrollbar.h>
|
|
#include <gtk/gtkscrolledwindow.h>
|
|
#include <gtk/gtkselection.h>
|
|
#include <gtk/gtkseparator.h>
|
|
#include <gtk/gtksignal.h>
|
|
#include <gtk/gtkspinbutton.h>
|
|
#include <gtk/gtkstyle.h>
|
|
#include <gtk/gtkstatusbar.h>
|
|
#include <gtk/gtktable.h>
|
|
#include <gtk/gtktext.h>
|
|
#include <gtk/gtktipsquery.h>
|
|
#include <gtk/gtktogglebutton.h>
|
|
#include <gtk/gtktoolbar.h>
|
|
#include <gtk/gtktooltips.h>
|
|
#include <gtk/gtktree.h>
|
|
#include <gtk/gtktreeitem.h>
|
|
#include <gtk/gtktypeutils.h>
|
|
#include <gtk/gtkvbox.h>
|
|
#include <gtk/gtkvbbox.h>
|
|
#include <gtk/gtkviewport.h>
|
|
#include <gtk/gtkvpaned.h>
|
|
#include <gtk/gtkvruler.h>
|
|
#include <gtk/gtkvscale.h>
|
|
#include <gtk/gtkvscrollbar.h>
|
|
#include <gtk/gtkvseparator.h>
|
|
#include <gtk/gtkwidget.h>
|
|
#include <gtk/gtkwindow.h>
|
|
|
|
|
|
#endif /* __GTK_H__ */
|