diff options
author | Jérémy Zurcher <jeremy@asynk.ch> | 2012-06-26 17:00:34 +0200 |
---|---|---|
committer | Jérémy Zurcher <jeremy@asynk.ch> | 2012-06-26 17:00:34 +0200 |
commit | a10ccda0a3c9ad2b07ad670b2d286519f854956b (patch) | |
tree | 35943f66e37042ba3a13d404d66977f6fc026a5b /lib/efl/native/elm/elm_cnp.rb | |
parent | f5692bc5e6dce679e4c2cb4a305ff270c4f80b66 (diff) | |
download | ffi-efl-a10ccda0a3c9ad2b07ad670b2d286519f854956b.zip ffi-efl-a10ccda0a3c9ad2b07ad670b2d286519f854956b.tar.gz |
update elm_cnp API (:elm_selection_loss_cb)
Diffstat (limited to 'lib/efl/native/elm/elm_cnp.rb')
-rw-r--r-- | lib/efl/native/elm/elm_cnp.rb | 4 |
1 files changed, 4 insertions, 0 deletions
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 |