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 |
||
---|---|---|
.. | ||
images | ||
tmpl | ||
building.sgml | ||
changes-1.2.sgml | ||
changes-2.0.sgml | ||
compiling.sgml | ||
directfb.sgml | ||
drawing-model.xml | ||
glossary.xml | ||
gtk-builder-convert.1 | ||
gtk-builder-convert.xml | ||
gtk-docs.sgml | ||
gtk-overrides.txt | ||
gtk-query-immodules-2.0.1 | ||
gtk-query-immodules-2.0.xml | ||
gtk-sections.txt | ||
gtk-update-icon-cache.1 | ||
gtk-update-icon-cache.xml | ||
gtk.types | ||
Makefile.am | ||
migrating-checklist.sgml | ||
migrating-GtkAboutDialog.sgml | ||
migrating-GtkAction.sgml | ||
migrating-GtkAssistant.sgml | ||
migrating-GtkBuilder.sgml | ||
migrating-GtkColorButton.sgml | ||
migrating-GtkComboBox.sgml | ||
migrating-GtkEntry-icons.sgml | ||
migrating-GtkFileChooser.sgml | ||
migrating-GtkIconView.sgml | ||
migrating-GtkLinkButton.sgml | ||
migrating-GtkRecentChooser.sgml | ||
migrating-GtkTooltip.sgml | ||
objects_grouped.sgml | ||
osx.sgml | ||
other_software.sgml | ||
question_index.sgml | ||
resources.sgml | ||
running.sgml | ||
text_widget.sgml | ||
tree_widget.sgml | ||
version.xml.in | ||
visual_index.xml | ||
windows.sgml | ||
x11.sgml |