aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTed Gould <ted@gould.cx>2012-01-13 15:07:18 +0100
committerTed Gould <ted@gould.cx>2012-01-13 15:07:18 +0100
commita6ed65aead78749086a67f92f53252b82c1bfc3d (patch)
treeb089f157fb0834cb1bb5a55e068b6a03d21729a1
parent2bb19db591c96af488d90ec184ea458230a2c471 (diff)
downloadlibayatana-indicator-a6ed65aead78749086a67f92f53252b82c1bfc3d.tar.gz
libayatana-indicator-a6ed65aead78749086a67f92f53252b82c1bfc3d.tar.bz2
libayatana-indicator-a6ed65aead78749086a67f92f53252b82c1bfc3d.zip
Documenting what this stuff does
-rw-r--r--libindicator/indicator-object.c16
1 files changed, 16 insertions, 0 deletions
diff --git a/libindicator/indicator-object.c b/libindicator/indicator-object.c
index 7cb75ae..e606077 100644
--- a/libindicator/indicator-object.c
+++ b/libindicator/indicator-object.c
@@ -538,6 +538,22 @@ indicator_object_get_show_now (IndicatorObject * io, IndicatorObjectEntry * entr
return FALSE;
}
+/**
+ indicator_object_entry_activate_window:
+ @io: #IndicatorObject to query
+ @entry: The #IndicatorObjectEntry whose entry was shown
+ @windowid: ID of the window that is currently focused (or will
+ be very shortly)
+ @timestamp: The X11 timestamp of the event
+
+ Used to signal to the indicator that the menu on an entry has
+ been clicked on. This can either be an activate or a showing
+ of the menu. Also includes a window ID so that we can know what
+ application is going to be getting focused soon. If there is
+ no override of this function, it is the same as calling
+ indicator_object_entry_activate and in general is preferable
+ if you have that information available.
+*/
void
indicator_object_entry_activate_window (IndicatorObject * io, IndicatorObjectEntry * entry, guint windowid, guint timestamp)
{