On Wed, Feb 22, 2012 at 4:41 PM, Rafael Antognolli
<[email protected]> wrote:
> On Wed, Feb 22, 2012 at 7:23 AM, Michael Blumenkrantz
> <[email protected]> wrote:
>> probably worth re-evaluating
>
> You mean that it is just a wrapper around edje_object_signal api?
>
> If so, I guess that it's only to avoid doing elm_layout_edje_get()
> then edje_object_signal_* on this edje. However, you have no way to do
> that on other widgets that are not the layout, since you don't have
> access to their edje's.
>
> I think that I didn't have to use this yet, but I can see a scenario
> where you have a custom theme for a widget (button, slider, etc) and
> you want to send a custom signal to that theme. Isn't it useful for
> this?

Indeed.
Suppose you need extra signals not handled by widget code, you'll need
to communicate it in your application.
It was initially created by me when I was developing a large project
using elementary.

It was really useful this time, and we have used it in another big
project after that.

Imagine you want a button that after clicked do an animation, and
after the animation you want to be signaled on code. It's very
specific to be supported by the widget code, but you need a way to do
so. Maybe you want the button change color under certain circumstance,
or whatever a designer may want. One of our use cases was to emit
signals to play sound synced with elm widgets theme events /
transitions.

Anyway, something that has been shown very useful for applications
with a more elaborated design - i.e. not using default themes.

It's a wrapper for edje api, obviously. But the idea is to not allow a
user to change the theme in other ways, getting the edje objects used
by the widget. Basically we are avoiding them to access widgets
internals.

If you have more concerns about it, please, let's discuss it =D

>
> --
> Rafael Antognolli
> ProFUSION embedded systems
> http://profusion.mobi
>
> ------------------------------------------------------------------------------
> Virtualization & Cloud Management Using Capacity Planning
> Cloud computing makes use of virtualization - but cloud computing
> also focuses on allowing computing to be delivered as a service.
> http://www.accelacomm.com/jaw/sfnl/114/51521223/
> _______________________________________________
> enlightenment-devel mailing list
> [email protected]
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel



-- 
Bruno Dilly
Senior Developer
ProFUSION embedded systems
http://profusion.mobi

------------------------------------------------------------------------------
Virtualization & Cloud Management Using Capacity Planning
Cloud computing makes use of virtualization - but cloud computing 
also focuses on allowing computing to be delivered as a service.
http://www.accelacomm.com/jaw/sfnl/114/51521223/
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to