Hello, All.

In message from 9 апреля 2009 Gustavo Sverzut Barbieri wrote:

> > As I see only TEXTBLOCK element have property 'entry_mode', to set it
> > editable or no. This is using in elm_entry.c.
> > Many other widgets contain TEXT element, such as 'e.text.label', but
> > seems no similar property in it. Therefore, no basic callbacks are
> > initialized when creating. And no way to change entry_mode in runtime.
> > What shall I do? Simply make 'e.text.label' to TEXTBLOCK type? Or any
> > else is possible? For example make similar callbacks for 'e.text.label'
> > when edit, but this is a lot of duplicate code...
>
> just change it to textblock, add new signals to make it editable
> (enter edit mode). You can choose to when the signal to become
> editable is sent to edje object you hide the TEXT part and show a new
> one with TEXTBLOCK already in edit mode.

Then, can I safely change type of 'e.text.label' 
of 'e/fileman/default/icon/variable' and etc. to TEXTBLOCK? Or create new 
TEXTBLOCK with same borders as 'e.text.label' and name it for 
ex. 'e.text.editor'? It is affected all themes, so what be better?

TEXTBLOCK can be multiline. Maybe in efm2 use it for show long names wrapped 
by a words? Now, when I create file named 'This is text with very long long 
long name.txt' it's icon take a lot of place in file manager window...

> you should create a transparent rectangle on top with mouse_events:1
> on TOP. make it visible:1 when you want to block events, visible:0
> when you want to stop (as invisible objects will not get events).

Thanks, I see that 'events' RECT are already exists in most cases. And when 
I'll need block mouse events I simply make it invisible.


Sincerely yours, Sergey.

--
Jabber/XMPP: sergey.semer...@gmail.com
Cellular: +7-909-206-5992

------------------------------------------------------------------------------
This SF.net email is sponsored by:
High Quality Requirements in a Collaborative Environment.
Download a free trial of Rational Requirements Composer Now!
http://p.sf.net/sfu/www-ibm-com
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to