On Sun, Jan 17, 2010 at 2:03 PM, Andreas Volz <li...@brachttal.net> wrote:
> Am Fri, 15 Jan 2010 11:28:31 +0800 schrieb zhangze:
>
> Hello,
>
> is there a special reason why you use etk? It has been move to OLD.
> Maybe you should try the same with Elementary (if you write a new
> application).
>
> regards
>        Andreas
>
>> hi,all, i swallow a etk scrolled_view widget into a swallow part in
>> edc, and i want to this scrolled_view can be clicked sometimes, while
>> sometimes it cann't. "mouse_events: 0;" this sentence can not be put
>> into description{};

Hi,

mouse_events: 0/1 is not part of the state of an object, so you can't
put it inside description and just change current state to get it
enabled/disabled.

If you want that behaviour of sometimes disabling click events to your
part, just place another part of the same size as your scrolled view
(or your swallow part), setting mouse_events: 1 (outside description).
Then make colors of that part invisible (color: 0 0 0 0). If this
invisible part is above your swallow part, it'll get the mouse events
preventing your scrolled view to get them. And to allow receiving
events again, just set the visibility of this part to 0 (visible: 0,
this goes inside description).

PS: I agree with Andreas, you should try elementary.

>>
>> EAPI void
>> edje_edit_part_mouse_events_set
>> (
>> Evas_Object *
>> obj,
>>
>>
>> const char *
>> part,
>>
>>
>> Eina_Bool
>> mouse_events
>>
>>
>> )
>> this API doesn't work.... thanks!
>>
>>
>> ------------------------------------------------------------------------------
>> Throughout its 18-year history, RSA Conference consistently attracts
>> the world's best and brightest in the field, creating opportunities
>> for Conference attendees to learn about information security's most
>> important issues through interactions with peers, luminaries and
>> emerging and established companies.
>> http://p.sf.net/sfu/rsaconf-dev2dev
>> _______________________________________________ enlightenment-devel
>> mailing list enlightenment-devel@lists.sourceforge.net
>> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>>
>
> ------------------------------------------------------------------------------
> Throughout its 18-year history, RSA Conference consistently attracts the
> world's best and brightest in the field, creating opportunities for Conference
> attendees to learn about information security's most important issues through
> interactions with peers, luminaries and emerging and established companies.
> http://p.sf.net/sfu/rsaconf-dev2dev
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>

-- 
Rafael Antognolli
ProFUSION embedded systems
http://profusion.mobi

------------------------------------------------------------------------------
Throughout its 18-year history, RSA Conference consistently attracts the
world's best and brightest in the field, creating opportunities for Conference
attendees to learn about information security's most important issues through
interactions with peers, luminaries and emerging and established companies.
http://p.sf.net/sfu/rsaconf-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to