From a10ccda0a3c9ad2b07ad670b2d286519f854956b Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=A9r=C3=A9my=20Zurcher?= Date: Tue, 26 Jun 2012 17:00:34 +0200 Subject: update elm_cnp API (:elm_selection_loss_cb) --- lib/efl/native/elm/elm_cnp.rb | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/lib/efl/native/elm/elm_cnp.rb b/lib/efl/native/elm/elm_cnp.rb index 1c55095..e76bd17 100644 --- a/lib/efl/native/elm/elm_cnp.rb +++ b/lib/efl/native/elm/elm_cnp.rb @@ -35,6 +35,8 @@ module Efl # CALLBACKS # typedef Eina_Bool (*Elm_Drop_Cb) (void *data, Evas_Object *obj, Elm_Selection_Data *ev); callback :elm_drop_cb, [ :pointer, :evas_object, :elm_selection_data ], :bool + # typedef void (*Elm_Selection_Loss_Cb) (void *data, Elm_Sel_Type selection); + callback :elm_selection_loss_cb, [ :pointer, :elm_sel_type ], :void # # FUNCTIONS fcts = [ @@ -44,6 +46,8 @@ module Efl [ :elm_cnp_selection_get, [ :evas_object, :elm_sel_type, :elm_sel_format, :elm_drop_cb, :pointer ], :bool ], # EAPI Eina_Bool elm_object_cnp_selection_clear(Evas_Object *obj, Elm_Sel_Type selection); [ :elm_object_cnp_selection_clear, [ :evas_object, :elm_sel_type ], :bool ], + # EAPI void elm_cnp_selection_loss_callback_set(Elm_Sel_Type selection, Elm_Selection_Loss_Cb func, const void *data); + [ :elm_cnp_selection_loss_callback_set, [ :elm_sel_type, :elm_selection_loss_cb, :pointer ], :void ], ] # attach_fcts fcts -- cgit v1.1-2-g2b99