forked from enlightenment/efl
elm_cnp: add elm_cnp_clipboard_selection_has_owner()
this already existed as an internal function which was improperly namespaced @feature
This commit is contained in:
parent
0b2e15db0f
commit
f289967927
|
@ -5260,6 +5260,13 @@ elm_selection_selection_has_owner(Evas_Object *obj)
|
|||
return _local_elm_selection_selection_has_owner(obj);
|
||||
}
|
||||
|
||||
EAPI Eina_Bool
|
||||
elm_cnp_clipboard_selection_has_owner(Evas_Object *win)
|
||||
{
|
||||
EINA_SAFETY_ON_NULL_RETURN_VAL(win, EINA_FALSE);
|
||||
return elm_selection_selection_has_owner(win);
|
||||
}
|
||||
|
||||
/* START - Support elm containers for Drag and Drop */
|
||||
/* START - Support elm containers for Drop */
|
||||
static int
|
||||
|
|
|
@ -310,6 +310,16 @@ EAPI Eina_Bool elm_object_cnp_selection_clear(Evas_Object *obj,
|
|||
*/
|
||||
EAPI void elm_cnp_selection_loss_callback_set(Evas_Object *obj, Elm_Sel_Type selection, Elm_Selection_Loss_Cb func, const void *data);
|
||||
|
||||
/**
|
||||
* @brief Determine whether the clipboard selection has an owner
|
||||
*
|
||||
* @param win The window object to check for
|
||||
* @return @c EINA_TRUE if the clipboard has a selection
|
||||
* @ingroup CopyPaste
|
||||
* @since 1.20
|
||||
*/
|
||||
EAPI Eina_Bool elm_cnp_clipboard_selection_has_owner(Evas_Object *win);
|
||||
|
||||
/**
|
||||
* @brief Set the given object as a target for drops for drag-and-drop
|
||||
*
|
||||
|
|
Loading…
Reference in New Issue