forked from AuroraMiddleware/gtk
bb72b647f6
Rework the way actions and proxies interact, to make the interaction less ad hoc, more extensible, and better suited for support in GUI builders like glade. To be used as a proxy, a widget must now implement the GtkActivatable interface, and GtkActivatable implementations are responsible for syncing their appearance with the action and for activating the action. All the widgets that are commonly used as proxies implement GtkActivatable now. Patch by Tristan van Berkom. * gtk/gtkactivatable.[hc]: The GtkActivatable interface. * gtk/gtkbutton.c: * gtk/gtktogglebutton.c: * gtk/gtktoolitem.c: * gtk/gtktoolbutton.c: * gtk/gtktoggletoolbutton.c: * gtk/gtkmenuitem.c: * gtk/gtkcheckmenuitem.c: * gtk/gtkimagemenuitem.c: * gtk/gtkradiomenuitem.c: * gtk/gtkrecentchooserprivate.h: * gtk/gtkrecentchooser.c: * gtk/gtkrecentchooserdefault.c: * gtk/gtkrecentchoosermenu.c: Implement GtkActivatable. * gtk/gtkaction.[hc]: Move appearance synchronization to GtkActivatable implementations. * gtk/gtkradioaction.c: * gtk/gtkrecentaction.c: * gtk/gtktoggleaction.c: * gtk/gtkactiongroup.c: Adapt. * gtk/gtk.h: Include gtkactivatable.h * gtk/gtk.symbols: Add new functions svn path=/trunk/; revision=22195
241 lines
7.1 KiB
C
241 lines
7.1 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__
|
|
|
|
#define __GTK_H_INSIDE__
|
|
|
|
#include <gdk/gdk.h>
|
|
#include <gtk/gtkaboutdialog.h>
|
|
#include <gtk/gtkaccelgroup.h>
|
|
#include <gtk/gtkaccellabel.h>
|
|
#include <gtk/gtkaccelmap.h>
|
|
#include <gtk/gtkaccessible.h>
|
|
#include <gtk/gtkaction.h>
|
|
#include <gtk/gtkactiongroup.h>
|
|
#include <gtk/gtkactivatable.h>
|
|
#include <gtk/gtkadjustment.h>
|
|
#include <gtk/gtkalignment.h>
|
|
#include <gtk/gtkarrow.h>
|
|
#include <gtk/gtkaspectframe.h>
|
|
#include <gtk/gtkassistant.h>
|
|
#include <gtk/gtkbbox.h>
|
|
#include <gtk/gtkbin.h>
|
|
#include <gtk/gtkbindings.h>
|
|
#include <gtk/gtkbox.h>
|
|
#include <gtk/gtkbuildable.h>
|
|
#include <gtk/gtkbuilder.h>
|
|
#include <gtk/gtkbutton.h>
|
|
#include <gtk/gtkcalendar.h>
|
|
#include <gtk/gtkcelleditable.h>
|
|
#include <gtk/gtkcelllayout.h>
|
|
#include <gtk/gtkcellrenderer.h>
|
|
#include <gtk/gtkcellrendereraccel.h>
|
|
#include <gtk/gtkcellrenderercombo.h>
|
|
#include <gtk/gtkcellrendererpixbuf.h>
|
|
#include <gtk/gtkcellrendererprogress.h>
|
|
#include <gtk/gtkcellrendererspin.h>
|
|
#include <gtk/gtkcellrenderertext.h>
|
|
#include <gtk/gtkcellrenderertoggle.h>
|
|
#include <gtk/gtkcellview.h>
|
|
#include <gtk/gtkcheckbutton.h>
|
|
#include <gtk/gtkcheckmenuitem.h>
|
|
#include <gtk/gtkclipboard.h>
|
|
#include <gtk/gtkcolorbutton.h>
|
|
#include <gtk/gtkcolorsel.h>
|
|
#include <gtk/gtkcolorseldialog.h>
|
|
#include <gtk/gtkcombobox.h>
|
|
#include <gtk/gtkcomboboxentry.h>
|
|
#include <gtk/gtkcontainer.h>
|
|
#include <gtk/gtkcurve.h>
|
|
#include <gtk/gtkdebug.h>
|
|
#include <gtk/gtkdialog.h>
|
|
#include <gtk/gtkdnd.h>
|
|
#include <gtk/gtkdrawingarea.h>
|
|
#include <gtk/gtkeditable.h>
|
|
#include <gtk/gtkentry.h>
|
|
#include <gtk/gtkentrycompletion.h>
|
|
#include <gtk/gtkenums.h>
|
|
#include <gtk/gtkeventbox.h>
|
|
#include <gtk/gtkexpander.h>
|
|
#include <gtk/gtkfixed.h>
|
|
#include <gtk/gtkfilechooser.h>
|
|
#include <gtk/gtkfilechooserbutton.h>
|
|
#include <gtk/gtkfilechooserdialog.h>
|
|
#include <gtk/gtkfilechooserwidget.h>
|
|
#include <gtk/gtkfilefilter.h>
|
|
#include <gtk/gtkfontbutton.h>
|
|
#include <gtk/gtkfontsel.h>
|
|
#include <gtk/gtkframe.h>
|
|
#include <gtk/gtkgamma.h>
|
|
#include <gtk/gtkgc.h>
|
|
#include <gtk/gtkhandlebox.h>
|
|
#include <gtk/gtkhbbox.h>
|
|
#include <gtk/gtkhbox.h>
|
|
#include <gtk/gtkhpaned.h>
|
|
#include <gtk/gtkhruler.h>
|
|
#include <gtk/gtkhscale.h>
|
|
#include <gtk/gtkhscrollbar.h>
|
|
#include <gtk/gtkhseparator.h>
|
|
#include <gtk/gtkhsv.h>
|
|
#include <gtk/gtkiconfactory.h>
|
|
#include <gtk/gtkicontheme.h>
|
|
#include <gtk/gtkiconview.h>
|
|
#include <gtk/gtkimage.h>
|
|
#include <gtk/gtkimagemenuitem.h>
|
|
#include <gtk/gtkimcontext.h>
|
|
#include <gtk/gtkimcontextsimple.h>
|
|
#include <gtk/gtkimmulticontext.h>
|
|
#include <gtk/gtkinputdialog.h>
|
|
#include <gtk/gtkinvisible.h>
|
|
#include <gtk/gtkitem.h>
|
|
#include <gtk/gtklabel.h>
|
|
#include <gtk/gtklayout.h>
|
|
#include <gtk/gtklinkbutton.h>
|
|
#include <gtk/gtkliststore.h>
|
|
#include <gtk/gtkmain.h>
|
|
#include <gtk/gtkmenu.h>
|
|
#include <gtk/gtkmenubar.h>
|
|
#include <gtk/gtkmenuitem.h>
|
|
#include <gtk/gtkmenushell.h>
|
|
#include <gtk/gtkmenutoolbutton.h>
|
|
#include <gtk/gtkmessagedialog.h>
|
|
#include <gtk/gtkmisc.h>
|
|
#include <gtk/gtkmodules.h>
|
|
#include <gtk/gtkmountoperation.h>
|
|
#include <gtk/gtknotebook.h>
|
|
#include <gtk/gtkobject.h>
|
|
#include <gtk/gtkorientable.h>
|
|
#include <gtk/gtkpagesetup.h>
|
|
#include <gtk/gtkpapersize.h>
|
|
#include <gtk/gtkpaned.h>
|
|
#include <gtk/gtkplug.h>
|
|
#include <gtk/gtkprintcontext.h>
|
|
#include <gtk/gtkprintoperation.h>
|
|
#include <gtk/gtkprintoperationpreview.h>
|
|
#include <gtk/gtkprintsettings.h>
|
|
#include <gtk/gtkprogressbar.h>
|
|
#include <gtk/gtkradioaction.h>
|
|
#include <gtk/gtkradiobutton.h>
|
|
#include <gtk/gtkradiomenuitem.h>
|
|
#include <gtk/gtkradiotoolbutton.h>
|
|
#include <gtk/gtkrange.h>
|
|
#include <gtk/gtkrc.h>
|
|
#include <gtk/gtkrecentaction.h>
|
|
#include <gtk/gtkrecentchooser.h>
|
|
#include <gtk/gtkrecentchooserdialog.h>
|
|
#include <gtk/gtkrecentchoosermenu.h>
|
|
#include <gtk/gtkrecentchooserwidget.h>
|
|
#include <gtk/gtkrecentfilter.h>
|
|
#include <gtk/gtkrecentmanager.h>
|
|
#include <gtk/gtkruler.h>
|
|
#include <gtk/gtkscale.h>
|
|
#include <gtk/gtkscalebutton.h>
|
|
#include <gtk/gtkscrollbar.h>
|
|
#include <gtk/gtkscrolledwindow.h>
|
|
#include <gtk/gtkselection.h>
|
|
#include <gtk/gtkseparator.h>
|
|
#include <gtk/gtkseparatormenuitem.h>
|
|
#include <gtk/gtkseparatortoolitem.h>
|
|
#include <gtk/gtksettings.h>
|
|
#include <gtk/gtkshow.h>
|
|
#include <gtk/gtksizegroup.h>
|
|
#include <gtk/gtksocket.h>
|
|
#include <gtk/gtkspinbutton.h>
|
|
#include <gtk/gtkstatusbar.h>
|
|
#include <gtk/gtkstatusicon.h>
|
|
#include <gtk/gtkstock.h>
|
|
#include <gtk/gtkstyle.h>
|
|
#include <gtk/gtktable.h>
|
|
#include <gtk/gtktearoffmenuitem.h>
|
|
#include <gtk/gtktextbuffer.h>
|
|
#include <gtk/gtktextbufferrichtext.h>
|
|
#include <gtk/gtktextchild.h>
|
|
#include <gtk/gtktextiter.h>
|
|
#include <gtk/gtktextmark.h>
|
|
#include <gtk/gtktexttag.h>
|
|
#include <gtk/gtktexttagtable.h>
|
|
#include <gtk/gtktextview.h>
|
|
#include <gtk/gtktoggleaction.h>
|
|
#include <gtk/gtktogglebutton.h>
|
|
#include <gtk/gtktoggletoolbutton.h>
|
|
#include <gtk/gtktoolbar.h>
|
|
#include <gtk/gtktoolbutton.h>
|
|
#include <gtk/gtktoolitem.h>
|
|
#include <gtk/gtktoolshell.h>
|
|
#include <gtk/gtktooltip.h>
|
|
#include <gtk/gtktestutils.h>
|
|
#include <gtk/gtktreednd.h>
|
|
#include <gtk/gtktreemodel.h>
|
|
#include <gtk/gtktreemodelfilter.h>
|
|
#include <gtk/gtktreemodelsort.h>
|
|
#include <gtk/gtktreeselection.h>
|
|
#include <gtk/gtktreesortable.h>
|
|
#include <gtk/gtktreestore.h>
|
|
#include <gtk/gtktreeview.h>
|
|
#include <gtk/gtktreeviewcolumn.h>
|
|
#include <gtk/gtktypeutils.h>
|
|
#include <gtk/gtkuimanager.h>
|
|
#include <gtk/gtkvbbox.h>
|
|
#include <gtk/gtkvbox.h>
|
|
#include <gtk/gtkversion.h>
|
|
#include <gtk/gtkviewport.h>
|
|
#include <gtk/gtkvolumebutton.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>
|
|
|
|
/* Broken */
|
|
#include <gtk/gtktext.h>
|
|
#include <gtk/gtktree.h>
|
|
#include <gtk/gtktreeitem.h>
|
|
|
|
/* Deprecated */
|
|
#include <gtk/gtkclist.h>
|
|
#include <gtk/gtkcombo.h>
|
|
#include <gtk/gtkctree.h>
|
|
#include <gtk/gtkfilesel.h>
|
|
#include <gtk/gtkitemfactory.h>
|
|
#include <gtk/gtklist.h>
|
|
#include <gtk/gtklistitem.h>
|
|
#include <gtk/gtkoldeditable.h>
|
|
#include <gtk/gtkoptionmenu.h>
|
|
#include <gtk/gtkpixmap.h>
|
|
#include <gtk/gtkpreview.h>
|
|
#include <gtk/gtkprogress.h>
|
|
#include <gtk/gtksignal.h>
|
|
#include <gtk/gtktipsquery.h>
|
|
#include <gtk/gtktooltips.h>
|
|
|
|
#undef __GTK_H_INSIDE__
|
|
|
|
#endif /* __GTK_H__ */
|