forked from enlightenment/efl
+elm_win_trap_data_get()
needed when using win traps to get the trap ctx at non-hookpoints
This commit is contained in:
parent
70920b3adb
commit
82c7788148
|
@ -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,
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue