forked from AuroraMiddleware/gtk
ac68581f96
Sun Mar 18 01:15:30 2001 Tim Janik <timj@gtk.org> * gtk/gtkspinbutton.[hc]: added rc-style argument GtkSpinButton::shadow_type. removed spin_button->shadow_type, gtk_spin_button_set_shadow_type() and ARG_SHADOW_TYPE as it doesn' make much sense to try to override rc-style settings. * gtk/gtkfixed.c: removed gtk_fixed_paint() (was unused). * gtk/gtkwidget.c: quark cleanups. * gtk/gtkrc.[hc]: added gtk_rc_scanner_new() to create an rc-file scanner with appropriate configuration, renamed GtkRcStyleClass.clone to create_rc_style() (we don't do cloning in standard OO sense). added per rc style properties. * gtk/gtkstyle.[hc]: added code to retrive pspec conformant rc-style property values and for caching those. some cleanups. * gtk/Makefile.am: -DG_DISABLE_CONST_RETURNS. * gtk/gtksettings.[hc]: new file for global rc-file properties (at least currently, should get extended to support X properties and other communication mechanisms). * gtk/gtkwidget.[hc]: added style property support: (gtk_widget_class_install_style_property_parser): install style property pspec with parser function for rc-file values other than LONG, DOUBLE or STRING. (gtk_widget_class_install_style_property): same as above without parser (parsers are going to be needed quite infrequently). (gtk_widget_style_get_property): retrive style property value. (gtk_widget_style_get_valist): same as above with varargs support, has NOCOPY semantics. (gtk_widget_style_get): wrapper around gtk_widget_style_get_valist().
165 lines
4.8 KiB
C
165 lines
4.8 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 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, write to the
|
|
* Free Software Foundation, Inc., 59 Temple Place - Suite 330,
|
|
* Boston, MA 02111-1307, USA.
|
|
*/
|
|
|
|
/*
|
|
* 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/.
|
|
*/
|
|
|
|
#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/gtkcalendar.h>
|
|
#include <gtk/gtkcellrenderer.h>
|
|
#include <gtk/gtkcellrenderertext.h>
|
|
#include <gtk/gtkcellrenderertextpixbuf.h>
|
|
#include <gtk/gtkcellrenderertoggle.h>
|
|
#include <gtk/gtkcellrendererpixbuf.h>
|
|
#include <gtk/gtkcheckbutton.h>
|
|
#include <gtk/gtkcheckmenuitem.h>
|
|
#include <gtk/gtkclipboard.h>
|
|
#include <gtk/gtkclist.h>
|
|
#include <gtk/gtkcolorsel.h>
|
|
#include <gtk/gtkcolorseldialog.h>
|
|
#include <gtk/gtkcombo.h>
|
|
#include <gtk/gtkcompat.h>
|
|
#include <gtk/gtkcontainer.h>
|
|
#include <gtk/gtkctree.h>
|
|
#include <gtk/gtkcurve.h>
|
|
#include <gtk/gtkdialog.h>
|
|
#include <gtk/gtkdnd.h>
|
|
#include <gtk/gtkdrawingarea.h>
|
|
#include <gtk/gtkeditable.h>
|
|
#include <gtk/gtkentry.h>
|
|
#include <gtk/gtkenums.h>
|
|
#include <gtk/gtkeventbox.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/gtkiconfactory.h>
|
|
#include <gtk/gtkimage.h>
|
|
#include <gtk/gtkimagemenuitem.h>
|
|
#include <gtk/gtkimcontext.h>
|
|
#include <gtk/gtkimmulticontext.h>
|
|
#include <gtk/gtkinputdialog.h>
|
|
#include <gtk/gtkinvisible.h>
|
|
#include <gtk/gtkitem.h>
|
|
#include <gtk/gtkitemfactory.h>
|
|
#include <gtk/gtklabel.h>
|
|
#include <gtk/gtklayout.h>
|
|
#include <gtk/gtklist.h>
|
|
#include <gtk/gtklistitem.h>
|
|
#include <gtk/gtkliststore.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/gtkmessagedialog.h>
|
|
#include <gtk/gtkmisc.h>
|
|
#include <gtk/gtknotebook.h>
|
|
#include <gtk/gtkobject.h>
|
|
#include <gtk/gtkoldeditable.h>
|
|
#include <gtk/gtkoptionmenu.h>
|
|
#include <gtk/gtkpacker.h>
|
|
#include <gtk/gtkpaned.h>
|
|
#include <gtk/gtkpixmap.h>
|
|
#include <gtk/gtkplug.h>
|
|
#include <gtk/gtkpreview.h>
|
|
#include <gtk/gtkprogress.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/gtkseparatormenuitem.h>
|
|
#include <gtk/gtksettings.h>
|
|
#include <gtk/gtksignal.h>
|
|
#include <gtk/gtksocket.h>
|
|
#include <gtk/gtkspinbutton.h>
|
|
#include <gtk/gtkstock.h>
|
|
#include <gtk/gtkstyle.h>
|
|
#include <gtk/gtkstatusbar.h>
|
|
#include <gtk/gtktable.h>
|
|
#include <gtk/gtktearoffmenuitem.h>
|
|
#include <gtk/gtktext.h>
|
|
#include <gtk/gtktextbuffer.h>
|
|
#include <gtk/gtktextview.h>
|
|
#include <gtk/gtktipsquery.h>
|
|
#include <gtk/gtktogglebutton.h>
|
|
#include <gtk/gtktoolbar.h>
|
|
#include <gtk/gtktooltips.h>
|
|
#include <gtk/gtktree.h>
|
|
#include <gtk/gtktreednd.h>
|
|
#include <gtk/gtktreeitem.h>
|
|
#include <gtk/gtktreemodel.h>
|
|
#include <gtk/gtktreemodelsort.h>
|
|
#include <gtk/gtktreeselection.h>
|
|
#include <gtk/gtktreestore.h>
|
|
#include <gtk/gtktreeview.h>
|
|
#include <gtk/gtktreeviewcolumn.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__ */
|