summaryrefslogtreecommitdiff
path: root/gtk/gtkactionhelper.h
Commit message (Collapse)AuthorAgeFilesLines
* Simplify GtkActionHelperRyan Lortie2014-01-081-12/+0
| | | | | | | Now that the last GMenuModel-based user of GtkActionHelper is gone, we can substantially simplify it. https://bugzilla.gnome.org/show_bug.cgi?id=721836
* introduce private GtkActionHelperRyan Lortie2012-08-201-0/+71
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.