Actually, there is a way to get the sixth parameter (IIRC).

When you create the ilist, e_widget_ilist_add(Evas *evas, int icon_w, 
int icon_h, char **value).

char *my_val;

e_widget_ilist_add(evas, size, size, &my_val);
e_widget_ilist_append(....., "Test");

Then when an item is clicked, my_val will be == "Test"

dh

Massimiliano Calamelli wrote:
> -----BEGIN PGP SIGNED MESSAGE-----
> Hash: SHA1
> 
> Hi, using ilist widget in my wallpaper fetcher i found that there's not
> a way to get the value of the sixth parameter assigned by 
> e_widget_ilist_[append|predend]* .
> Without this function i've to create a callback for each element of
> ilist, and inside the callback i call every time the same function
> modiyfing only the parameter; with this i need to register only one
> callback, and inside i can get the value of "val".
> To explain better(?), each element of ilist is an URL for a RSS feed.
> In this way is easy to allow user to add other feeds to the module. 
> 
> Attached file is .diff
> 
> Regards
> 
> Massimiliano

-------------------------------------------------------------------------
This SF.net email is sponsored by: Microsoft
Defy all challenges. Microsoft(R) Visual Studio 2008.
http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to