Hi this is Hermet.
The reason why i used the API name is any other APIs follow the naming rule.
For example,
elm_object_disabled_set,
elm_gengrid_item_disabled_set
elm_entry_context_menu_disabled_set
elm_toobl_item_disabled_set
....
Frackly, I dont prefer disabled_set.
It makes people thinked one more.
However, I just followed the naming rule.
if the default is the enabled, then it provides disabled_set
If this is my fault, OK I agree with you.
Thanks.
------- Original Message -------
Sender : Dave Andreoli<d...@gurumeditation.it>
Date : 2010-12-02 08:53 (GMT+09:00)
Title : Re: [E-devel] [Patch] elm_transit
2010/12/1 Gustavo Sverzut Barbieri :
> On Wed, Dec 1, 2010 at 4:00 PM, Daniel Juyung Seo wrote:
>> I agree with Helen.
>>
>> Even the event block is set by default
>> and I understand why Hermet prefers
elm_transit_event_block_disabled_set(),
>> elm_transit_event_block_set(transit, EINA_TRUE)
>> is less confusing than
>> elm_transit_event_block_disabled_set(transit, EINA_TRUE).
>>
>> But I think BOTH are confusing.
>>
>> I suggest another solution for this.
>> Why don't you use
>> elm_transit_event_enabled_set(transit, EINA_TRUE) instead?
>> Because event is blocked by default,
>> someone who wants to use events needs to call
>> elm_transit_event_enabled_set() API.
>
> +1, that seems the most reasonable api.
indeed +1
davemds
>
> --
> Gustavo Sverzut Barbieri
> http://profusion.mobi embedded systems
> --------------------------------------
> MSN: barbi...@gmail.com
> Skype: gsbarbieri
> Mobile: +55 (19) 9225-2202
>
>
----------------------------------------------------------------------------
--
> Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
> Tap into the largest installed PC base & get more eyes on your game by
> optimizing for Intel(R) Graphics Technology. Get started today with the
> Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
> http://p.sf.net/sfu/intelisp-dev2dev
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>
----------------------------------------------------------------------------
--
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
[cid:V0UVOUUB9220@namo.co.kr]
[SeenTimeChecker?do=d9ce704749a25c62756122855015f930f101de264366a50c6b754d17
d001ca18ba777c355c197185c465c2cf80a2b7ef9aba4bb3b2b5ca43ddd7e184e0604d958075
b6b33f32d245b7f8aafe245478a5f1d21d5ebee74427cf878f9a26ce15a0]
------------------------------------------------------------------------------
Increase Visibility of Your 3D Game App & Earn a Chance To Win $500!
Tap into the largest installed PC base & get more eyes on your game by
optimizing for Intel(R) Graphics Technology. Get started today with the
Intel(R) Software Partner Program. Five $500 cash prizes are up for grabs.
http://p.sf.net/sfu/intelisp-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel