+elm_win_trap_data_get()

needed when using win traps to get the trap ctx at non-hookpoints
This commit is contained in:
Mike Blumenkrantz 2014-09-23 17:38:22 -04:00
parent 70920b3adb
commit 82c7788148
2 changed files with 19 additions and 0 deletions

View File

@ -3534,6 +3534,12 @@ _elm_win_noblank_get(Eo *obj EINA_UNUSED, Elm_Win_Data *pd)
return pd->noblank;
}
EOLIAN static void *
_elm_win_trap_data_get(Eo *obj EINA_UNUSED, Elm_Win_Data *pd)
{
return pd->trap_data;
}
EAPI Evas_Object *
elm_win_util_standard_add(const char *name,

View File

@ -1168,6 +1168,19 @@ class Elm_Win (Elm_Widget, Elm_Interface_Atspi_Window,
bool noblank; /*@ If true, the window is set to noblank */
}
}
trap_data {
get {
/*@
Get the trap data associated with a window
@since 1.12
@ingroup Win */
}
values {
void *trap_data; /*@ The trap data of the window */
}
}
}
methods {
constructor {