summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBryce Harrington <bryce@osg.samsung.com>2017-06-05 11:13:02 -0700
committerCedric BAIL <cedric@osg.samsung.com>2017-06-05 12:07:57 -0700
commit3d46c390f7366ef6a8097b45fe025368a06dbe36 (patch)
tree121028e9757ff1e5ed61d0698e4e8f5b4c3d2fb2
parent8834ea19273e64dc32a618c0153a4fa4de221aec (diff)
downloadefl-3d46c390f7366ef6a8097b45fe025368a06dbe36.tar.gz
evas/examples: add intro for evas-event-filter.c example
Reviewers: cedric Reviewed By: cedric Subscribers: jpeg Differential Revision: https://phab.enlightenment.org/D4907 Signed-off-by: Cedric BAIL <cedric@osg.samsung.com>
-rw-r--r--src/examples/evas/evas-event-filter.c15
1 files changed, 15 insertions, 0 deletions
diff --git a/src/examples/evas/evas-event-filter.c b/src/examples/evas/evas-event-filter.c
index 0b95a87551..5f46e95076 100644
--- a/src/examples/evas/evas-event-filter.c
+++ b/src/examples/evas/evas-event-filter.c
@@ -1,3 +1,18 @@
+/**
+ * Example of filtering events in Evas
+ *
+ * Demonstrates how to filter events by seat using a pair of Evas
+ * objects and the efl_input_seat_event_filter_set() routine. The blue
+ * rectangle can accept events from any seat, while the red one is
+ * filtered to only take events from a single seat.
+ *
+ * @see efl_input_seat_event_filter_set
+ *
+ * @verbatim
+ * gcc -o evas-event-filter evas-event-filter.c `pkg-config --libs --cflags evas ecore ecore-evas`
+ * @endverbatim
+ */
+
#ifdef HAVE_CONFIG_H
#include "config.h"
#endif