On Tue, Apr 13, 2010 at 4:15 AM, Dave Andreoli <[email protected]> wrote: > 2010/4/13 dev mohanty <[email protected]>: >> Dear All >> >> I am a newbie in the field of enlightenment. I have just started using it. >> Could anyone please tell me where to find the list of events that can be >> sent in this function >> evas_object_smart_callback_add(Evas_Object * obj, >> const char * event, >> void(*)(void *data, >> Evas_Object *obj, void *event_info) func, >> const void * data ) > > The name of the event is different for every smart_object (elm_button have > different events than elm_window for example), you usually need to > look at the documentation (or source code) of the smart object you are using. > > What object are you trying to connect the callback to? elm_widget or > something else?
There is also a meta-information that we're trying to add, but not all objects provide it... actually very few of them provide it. It is stored in the object and can be retrieved with evas_object_smart_callbacks_descriptions_get(), see examples in svn/trunk/TMP/st/elementary/src/edje_externals/elm.c -- Gustavo Sverzut Barbieri http://profusion.mobi embedded systems -------------------------------------- MSN: [email protected] Skype: gsbarbieri Mobile: +55 (19) 9225-2202 ------------------------------------------------------------------------------ Download Intel® Parallel Studio Eval Try the new software tools for yourself. Speed compiling, find bugs proactively, and fine-tune applications for parallel performance. See why Intel Parallel Studio got high marks during beta. http://p.sf.net/sfu/intel-sw-dev _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
