On Sat, 25 Sep 2010 19:30:42 -0400 Christopher Michael <cpmicha...@comcast.net> said:
you should add support in button for signal_func and then provide one that emits to the button edje base obj. :) > Here is a patch which adds the ability for elm_widgets to have a > color_class hook. > > Some background: > This came about because of an app I am working on. In the app, I use > custom-themed elm_buttons (w/ elm_object_style_set). These custom-themed > buttons need the ability to change some colors such as background, etc, > etc (when certain events occur), and the elm_button does not expose it's > edje_object to allow edje_object_color_class_set calls. > > So the attached patch adds the ability for an elm_widget to have a > color_class hook. When someone calls elm_object_color_class_set, the > hook will get fired and the widget can call edje_object_color_class_set > in the hook on the appropriate edje objects. > > The only widget I added this for currently is elm_button (cause that's > what I needed.) If the patch goes in, feel free to add the hook for > other widgets ;) > > dh -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ras...@rasterman.com ------------------------------------------------------------------------------ Start uncovering the many advantages of virtual appliances and start using them to simplify application deployment and accelerate your shift to cloud computing. http://p.sf.net/sfu/novell-sfdev2dev _______________________________________________ enlightenment-devel mailing list enlightenment-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/enlightenment-devel