introduce private GtkActionHelper
authorRyan Lortie <desrt@desrt.ca>
Fri, 17 Aug 2012 22:13:02 +0000 (18:13 -0400)
committerRyan Lortie <desrt@desrt.ca>
Mon, 20 Aug 2012 17:11:01 +0000 (13:11 -0400)
commit652f16dd985dbc1bebb64b93abf490c9b4abc95c
treef20c2315a34d2c7e7242edecca430e5b7a088d7d
parentd30d56452cbd8d1c495c902018df17dee14875c8
introduce private GtkActionHelper

The current process of implementing GActionObserver is annoying and the
GSimpleActionObserver interface leaves a lot to be desired.  Introduce a
new class, GtkActionHelper that gives you pretty much everything you'd
want to do as an implementor of GtkActionable.

The GtkActionHelper also features an "application" mode that is not
associated with a particular GtkWidget but rather with whatever widget
happens to be the active window of the given GtkApplication at a
particular point in time.  This will be useful for the Mac OS menubar.
gtk/Makefile.am
gtk/gtkactionhelper.c [new file with mode: 0644]
gtk/gtkactionhelper.h [new file with mode: 0644]