HomePhabricator

Make passing data pointer to format_cb possible

Authored by MaxPerl on Dec 14 2021, 12:53 AM.

Description

Make passing data pointer to format_cb possible

Summary:
Hello,
For my perl binding it is important that one can pass a data pointer to all callbacks, especially to "Format_Cbs" as in elm_slider_units_format_function_set(), elm_slider_indicator_format_function_set() of elm_progressbar_unit_format_function_set(). Another "problematic" function would be elm_calendar_format_function_set().

Enclosed you find a approach to solve this problem.

It would be wonderful, if the Efl-libraries could make data pointers also in format cbs possible...

Thanks in advance,
Max

Reviewers: bowonryu, eagleeye, zmike, cedric, raster

Reviewed By: raster

Subscribers: raster, cedric, reviewers, committers

Tags: efl

Differential Revision: https://phab.enlightenment.org/D12298

Details

Committed
rasterDec 14 2021, 12:53 AM
Reviewer
raster
Differential Revision
D12298: Make passing data pointer to format_cb possible
Parents
rEFLf6c99bd806f1: ecore evas - wl - detect timestamsp too far in the past and complain
Branches
Unknown
Tags
Unknown