mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2024-11-05 16:20:10 +00:00
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 |
||
---|---|---|
.. | ||
faq | ||
reference | ||
tools | ||
tutorial | ||
defsformat.txt | ||
developers.txt | ||
dnd_internals.txt | ||
focus_tracking.txt | ||
generation.txt | ||
gtk-config.txt | ||
gtkdocs_fix | ||
iconcache.txt | ||
make-todo | ||
Makefile.am | ||
refcounting.txt | ||
RELEASE-HOWTO | ||
sizing-test.txt | ||
styles.txt | ||
text_widget_internals.txt | ||
text_widget.txt | ||
tree-column-sizing.png | ||
tree-column-sizing.txt | ||
widget_geometry.txt | ||
widget_system.txt |