Hi Simon, yes, these functions make sense only for etk-perl, and the reasson for these is that I cannot use va_lists in perl xs, so I will have to manually count the arguments and do proper casting, so with 5 possible columns per item, and 2 possible types per column, it's a combinatorial explosion of functions that I wasn't willing to write. It worked for the etk_tree_row_fields_set because that function takes the column too, so I can tell what is the type of the column instead of guessing it from the variable types. I'll see if I can keep some internal metadata in perl associated with the combobox items, and from that build up the function calls accordingly.
On 3/9/07, Simon TRENY <[EMAIL PROTECTED]> wrote: > > Hi Chady! > > Why exactly do you need these two functions? To insert new items in > a combobox? If that's so, couldn't you just do what you did with > row insertion in an Etk_Tree? iirc you fixed row insertion by using > directly etk_tree_row_fields_set(). Since there is no > etk_tree_row_fields_nth_set() in the Etk_Tree API, couldn't it be > possible to do something similar for the combobox? > > The problem with these two functions is that they don't really make > sense except for Etk-Perl. I don't see any use for them since we already > have etk_combobox_item_fields_set/get(). > > Regards, > Simon > > > On Fri, 9 Mar 2007 10:27:20 +0200, > "Chady Kassouf" <[EMAIL PROTECTED]> wrote : > > > Since there is work going on the combobox now, I thought this might > > go in (or something like it) > > > > This patch introduces two functions: > > etk_combobox_item_fields_nth_set and etk_combobox_item_fields_nth_get > > to get/set a specific column's widget of the combobox. > > This is needed for perl bindings. > > > > Regards, > > > -- Chady 'Leviathan' Kassouf http://chady.net/ ------------------------------------------------------------------------- Take Surveys. Earn Cash. Influence the Future of IT Join SourceForge.net's Techsay panel and you'll get the chance to share your opinions on IT & business topics through brief surveys-and earn cash http://www.techsay.com/default.php?page=join.php&p=sourceforge&CID=DEVDEV _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel