elm widget - dont get focus if object is not an elm widget
this islences lots of missing method complaints from eo (yes - we wantmixed elm + non elm widgets to work, thus this has to be handled)
This commit is contained in:
parent
02590f4877
commit
e2599a6d4a
|
@ -23,9 +23,10 @@
|
|||
ELM_WIDGET_DATA_GET(obj, sd); \
|
||||
if (!sd) return
|
||||
|
||||
#define ELM_WIDGET_FOCUS_GET(obj) \
|
||||
((_elm_access_auto_highlight_get()) ? (elm_widget_highlight_get(obj)) : \
|
||||
(elm_widget_focus_get(obj)))
|
||||
#define ELM_WIDGET_FOCUS_GET(obj) \
|
||||
(eo_isa(obj, ELM_OBJ_WIDGET_CLASS) && \
|
||||
((_elm_access_auto_highlight_get()) ? (elm_widget_highlight_get(obj)) : \
|
||||
(elm_widget_focus_get(obj))))
|
||||
|
||||
const char SIG_WIDGET_FOCUSED[] = "focused";
|
||||
const char SIG_WIDGET_UNFOCUSED[] = "unfocused";
|
||||
|
|
Loading…
Reference in New Issue