On Wed, 2 Oct 2013 01:03:54 +0900 (KST) 조재현 <jae_hyun_...@naver.com> said:
> Dear all, > > Hello. This is Jaehyun Cho. > I am writing this email to ask about the widget theme policy. > As you know, when the elm_widget_theme is called, the theme is applied for > all the children objects and then the parent object's theme is applied later. > (This means that the theme can be applied for the children even if the parent > fails to apply the theme.) I would like to change the order for applying a > theme. In other words, I would like to apply the theme for the parent first > and then apply the theme for the children if the parent succeeds to apply the > theme. (In this case, if the parent fails to apply the theme, then the > children cannot apply the theme either.) Is it possible to change the current > widget theme policy to my suggestion? Thank you. > Jaehyun Cho. hrrrrm. "fail" in what way.. i assume you mean that you set a theme and basically edje_object_file_set() fails? a catch - it may "fail" for many reasons. rememmber a theme is not just a single edj file... its a LIST of edj files with a fallback. at the head of this list are theme overrides the app sets. down the list are the theme(s) indicated and finally always falling back to default (and then after default any theme EXTENSIONS the app added). failure could be a missing edj file at any point here. it could be simply a missing group in any edj file in the list... OR it could be that NO edj file in this list contains the requested group... so which do you mean? in the elm theme code... failure is specifically defined that for THAT requested group NONE can be found in any edj file in the list at all... the end result is... for that widget/element alone the object falls back to using the default style. so it still works, but changes don't work. child widgets though will each try separately... the problem here is we have a fundamentally broken setup, and we're talking about how to handle what is already a bug by "setup" and "request". > ------------------------------------------------------------------------------ > October Webinars: Code for Performance > Free Intel webinars can help you accelerate application performance. > Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from > the latest Intel processors and coprocessors. See abstracts and register > > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk > _______________________________________________ > enlightenment-devel mailing list > enlightenment-devel@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/enlightenment-devel > -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ October Webinars: Code for Performance Free Intel webinars can help you accelerate application performance. Explore tips for MPI, OpenMP, advanced profiling, and more. Get the most from the latest Intel processors and coprocessors. See abstracts and register > http://pubads.g.doubleclick.net/gampad/clk?id=60134791&iu=/4140/ostg.clktrk _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel