> Modified Files: > e_widget_frametable.c e_widget_frametable.h > > Log Message: > Add const to frametable's label. >
Just a minor thought here on all this widgetry stuff... For all of these 'e_widgets', wouldn't it be better to have a consistent interface for 'adding' them to an evas? For example, say of the form: Evas_Object *e_some_widget_type_add(Evas *evas); and then have functions for setting the relevant properties.. Or, as another possibility, say of the form: Evas_Object *e_some_widget_type_add(Evas *evas, void *property_class); where 'property_class' would refer to a type specific struct that would hold the relevant things desired.. (Or some combination of these.. say the simple 'add' with no property arguments, and a function to set the property_class). This would not only allow for a simpler, more consistent methodology, but also make it easier to change or extend the kinds of initializing properties used. In a somewhat different vein: Since these 'widgets' possibly need some set of edje groups to define their 'theme', wouldn't it also be desirable to allow one to be able to specify an edje file that would hold the required theme elements? This would allow for any given widget instance to be separately themed - if desired (I believe both ewl and etk allow for something like that?). BTW, what happenned to Hisham's "eblocks"? Wasn't that a lib similar to these e-widgets stuff? jose. _____________________________________________________________ Be your own boss. Click here for information on starting your own business. http://thirdpartyoffers.juno.com/TGL2121/fc/Ioyw6i3l5e2pbSxwe17Zn1lfnNkod0YFs2zzs0Ex5FPeIaPJmOX4G8/ ------------------------------------------------------------------------- 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