On Mon, 11 Nov 2013 14:54:06 -0500 Robert Heller <[email protected]> said:
> If I create an object of type Evas_Object using edje_object_add: > > o = edje_object_add(mi->menu->evas); > mi->separator_object = o; > e_theme_edje_object_set(o, "base/theme/start_menus", > "e/widgets/startmenu/default/separator"); > evas_object_show(o); > edje_object_size_min_calc(mi->separator_object, &ww, &hh); > mi->separator_w = ww; > mi->separator_h = hh; > > does it make sense to later add this to some sort of e_widget container: > > (o = mi->separator_object or something similar and m->favorites_box > was created with e_widget_list_add()) > > e_widget_list_object_append(m->favorites_box,o, > 1, /* fill */ > 1, /* expand */ > 0.0 /* align */ > ); > > Next question: there isn't an e_<mumble>_pack_options_set() type fucntion for > e_widget_list's, so how does one properly propagate geometry? Calling > e_box_pack_options_set() seems to be the wrong thing to do (well I get > segfaults). e_widget_list's seem to be a higher-level box-like thing (there > isn't an e_widget_box thing). just in the list of "feed a man a fish" vs "teach a man to fish"... did u try reading e_widget_list.c ? the anser is screaming at you from e_widget_list_object_append() you were asking about... :) (how does indeed the widget get the minimum size... or then set it again on itself... :)) > > -- > Robert Heller -- 978-544-6933 / [email protected] > Deepwoods Software -- http://www.deepsoft.com/ > () ascii ribbon campaign -- against html e-mail > /\ www.asciiribbon.org -- against proprietary attachments > > > > > ------------------------------------------------------------------------------ > November Webinars for C, C++, Fortran Developers > Accelerate application performance with scalable programming models. Explore > techniques for threading, error checking, porting, and tuning. Get the most > from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk > _______________________________________________ > enlightenment-devel mailing list > [email protected] > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) [email protected] ------------------------------------------------------------------------------ November Webinars for C, C++, Fortran Developers Accelerate application performance with scalable programming models. Explore techniques for threading, error checking, porting, and tuning. Get the most from the latest Intel processors and coprocessors. See abstracts and register http://pubads.g.doubleclick.net/gampad/clk?id=60136231&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-devel mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
