diff options
author | José Alburquerque <jaalburqu@svn.gnome.org> | 2010-11-01 03:07:58 -0400 |
---|---|---|
committer | José Alburquerque <jaalburqu@svn.gnome.org> | 2010-11-01 03:07:58 -0400 |
commit | 910bb14a3bc34df2a1b88e419dc6ca495ee7e132 (patch) | |
tree | acae3ba33da6b160d6581b4c6e02a8de4cf5348f /gio/src/gio_signals.defs | |
parent | 63d7707bd9eaf874a30ba5ae1d8cd59391c3de95 (diff) | |
download | glibmm-910bb14a3bc34df2a1b88e419dc6ca495ee7e132.tar.gz |
giomm: Add ActionGroup interface.
* tools/extra_defs_gen/generate_defs_gio.cc:
* gio/src/gio_signals.defs: Add the GActionGroup type to the extra
defs generation tool and regenerate the signal defs file to get the
signals of GActionGroup.
* gio/src/actiongroup.{ccg, hg}:
* gio/src/filelist.am: Add new ActionGroup interface sources and
mention them so they are build.
Diffstat (limited to 'gio/src/gio_signals.defs')
-rw-r--r-- | gio/src/gio_signals.defs | 48 |
1 files changed, 44 insertions, 4 deletions
diff --git a/gio/src/gio_signals.defs b/gio/src/gio_signals.defs index 092a8bcb..8d1ae876 100644 --- a/gio/src/gio_signals.defs +++ b/gio/src/gio_signals.defs @@ -1,5 +1,45 @@ ;; From GAsyncResult +;; From GActionGroup + +(define-signal action-added + (of-object "GActionGroup") + (return-type "void") + (when "last") + (parameters + '("const-gchar*" "p0") + ) +) + +(define-signal action-removed + (of-object "GActionGroup") + (return-type "void") + (when "last") + (parameters + '("const-gchar*" "p0") + ) +) + +(define-signal action-enabled-changed + (of-object "GActionGroup") + (return-type "void") + (when "last") + (parameters + '("const-gchar*" "p0") + '("gboolean" "p1") + ) +) + +(define-signal action-state-changed + (of-object "GActionGroup") + (return-type "void") + (when "last") + (parameters + '("const-gchar*" "p0") + '("GVariant*" "p1") + ) +) + ;; From GApplication (define-signal startup @@ -37,7 +77,7 @@ (define-property application-id (of-object "GApplication") (prop-type "GParamString") - (docs "Unique identifier for the application") + (docs "The unique identifier for the application") (readable #t) (writable #t) (construct-only #f) @@ -72,8 +112,8 @@ (define-property inactivity-timeout (of-object "GApplication") - (prop-type "GParamBoolean") - (docs "time (ms) to stay alive after becoming idle") + (prop-type "GParamUInt") + (docs "Iime (ms) to stay alive after becoming idle") (readable #t) (writable #t) (construct-only #f) @@ -82,7 +122,7 @@ (define-property action-group (of-object "GApplication") (prop-type "GParamObject") - (docs "the group of actions that the application exports") + (docs "The group of actions that the application exports") (readable #f) (writable #t) (construct-only #f) |