summaryrefslogtreecommitdiff
path: root/src/lib
diff options
context:
space:
mode:
authorMike Blumenkrantz <zmike@osg.samsung.com>2014-09-23 17:38:22 -0400
committerMike Blumenkrantz <zmike@osg.samsung.com>2014-09-23 17:38:22 -0400
commit254130334014ef19bb5fa5dff521d854475cbf20 (patch)
treeb6b34a8902738b7c2981c9f5133f1dbad2275874 /src/lib
parent123ca6a8744729525889bbc09ee1aff4b2b97b75 (diff)
+elm_win_trap_data_get()
needed when using win traps to get the trap ctx at non-hookpoints
Diffstat (limited to 'src/lib')
-rw-r--r--src/lib/elm_win.c6
-rw-r--r--src/lib/elm_win.eo13
2 files changed, 19 insertions, 0 deletions
diff --git a/src/lib/elm_win.c b/src/lib/elm_win.c
index 43a348890..116896a16 100644
--- a/src/lib/elm_win.c
+++ b/src/lib/elm_win.c
@@ -3534,6 +3534,12 @@ _elm_win_noblank_get(Eo *obj EINA_UNUSED, Elm_Win_Data *pd)
3534 return pd->noblank; 3534 return pd->noblank;
3535} 3535}
3536 3536
3537EOLIAN static void *
3538_elm_win_trap_data_get(Eo *obj EINA_UNUSED, Elm_Win_Data *pd)
3539{
3540 return pd->trap_data;
3541}
3542
3537 3543
3538EAPI Evas_Object * 3544EAPI Evas_Object *
3539elm_win_util_standard_add(const char *name, 3545elm_win_util_standard_add(const char *name,
diff --git a/src/lib/elm_win.eo b/src/lib/elm_win.eo
index 54cc53786..7084ab159 100644
--- a/src/lib/elm_win.eo
+++ b/src/lib/elm_win.eo
@@ -1168,6 +1168,19 @@ class Elm_Win (Elm_Widget, Elm_Interface_Atspi_Window,
1168 bool noblank; /*@ If true, the window is set to noblank */ 1168 bool noblank; /*@ If true, the window is set to noblank */
1169 } 1169 }
1170 } 1170 }
1171 trap_data {
1172 get {
1173 /*@
1174
1175 Get the trap data associated with a window
1176 @since 1.12
1177
1178 @ingroup Win */
1179 }
1180 values {
1181 void *trap_data; /*@ The trap data of the window */
1182 }
1183 }
1171 } 1184 }
1172 methods { 1185 methods {
1173 constructor { 1186 constructor {