forked from enlightenment/efl
parent
1d851d7ea9
commit
8536e81cea
|
@ -4451,6 +4451,12 @@ extern "C" {
|
||||||
* @return The inlined image object, or NULL if none exists
|
* @return The inlined image object, or NULL if none exists
|
||||||
*/
|
*/
|
||||||
EAPI Evas_Object *elm_win_inlined_image_object_get(Evas_Object *obj);
|
EAPI Evas_Object *elm_win_inlined_image_object_get(Evas_Object *obj);
|
||||||
|
/**
|
||||||
|
* Determine whether a window has focus
|
||||||
|
* @param obj The window to query
|
||||||
|
* @return EINA_TRUE if the window exists and has focus, else EINA_FALSE
|
||||||
|
*/
|
||||||
|
EAPI Eina_Bool elm_win_focus_get(const Evas_Object *obj);
|
||||||
/**
|
/**
|
||||||
* Set the enabled status for the focus highlight in a window
|
* Set the enabled status for the focus highlight in a window
|
||||||
*
|
*
|
||||||
|
|
|
@ -2175,6 +2175,16 @@ elm_win_screen_position_get(const Evas_Object *obj, int *x, int *y)
|
||||||
if (y) *y = win->screen.y;
|
if (y) *y = win->screen.y;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
EAPI Eina_Bool
|
||||||
|
elm_win_focus_get(const Evas_Object *obj)
|
||||||
|
{
|
||||||
|
Elm_Win *win;
|
||||||
|
ELM_CHECK_WIDTYPE(obj, widtype);
|
||||||
|
win = elm_widget_data_get(obj);
|
||||||
|
if (!win) return;
|
||||||
|
return ecore_evas_focus_get(win->ee);
|
||||||
|
}
|
||||||
|
|
||||||
EAPI void
|
EAPI void
|
||||||
elm_win_conformant_set(Evas_Object *obj, Eina_Bool conformant)
|
elm_win_conformant_set(Evas_Object *obj, Eina_Bool conformant)
|
||||||
{
|
{
|
||||||
|
|
Loading…
Reference in New Issue