diff options
author | Ryan Lortie <desrt@desrt.ca> | 2012-01-05 22:22:06 -0500 |
---|---|---|
committer | Ryan Lortie <desrt@desrt.ca> | 2012-01-09 15:02:06 +0100 |
commit | 88ec007b9858132720cc602ac1a63396f66116bc (patch) | |
tree | 0f82ee7e7fc2d40f80835def27050abc55d5fbc6 /gtk/gtkapplicationprivate.h | |
parent | a3629592d303b4eea920b25746a13d194f08335c (diff) | |
download | gtk+-88ec007b9858132720cc602ac1a63396f66116bc.tar.gz |
Add new GtkActionable interface
This is the interface for GtkWidgets that can be associated with an
action on a GtkAppicationWindow or associated GtkApplication.
It essentially features 'action-name' and 'action-target' properties
with some associated convenience API.
This interface is implemented by GtkButton and GtkToolButton.
https://bugzilla.gnome.org/show_bug.cgi?id=667394
Diffstat (limited to 'gtk/gtkapplicationprivate.h')
-rw-r--r-- | gtk/gtkapplicationprivate.h | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/gtk/gtkapplicationprivate.h b/gtk/gtkapplicationprivate.h index 9693f78d86..4ff3b2b27e 100644 --- a/gtk/gtkapplicationprivate.h +++ b/gtk/gtkapplicationprivate.h @@ -23,6 +23,7 @@ #ifndef __GTK_APPLICATION_PRIVATE_H__ #define __GTK_APPLICATION_PRIVATE_H__ +#include "gsimpleactionobserver.h" #include "gtkapplicationwindow.h" G_GNUC_INTERNAL @@ -33,4 +34,9 @@ gboolean gtk_application_window_publish (GtkAppl G_GNUC_INTERNAL void gtk_application_window_unpublish (GtkApplicationWindow *window); +G_GNUC_INTERNAL +GSimpleActionObserver * gtk_application_window_get_observer (GtkApplicationWindow *window, + const gchar *action_name, + GVariant *target); + #endif /* __GTK_APPLICATION_PRIVATE_H__ */ |