Felix Breuer <[EMAIL PROTECTED]> [2005-01-31 13:11]:
> Hello *,

Hi Felix,

> Suppose I have a list of strings with a lot of entries (> 1000). Further
> suppose, that this list changes frequently (at least once per minute)
> without user interaction (i.e. the change is triggered by the backend). 
> What is the best way to expose this via Edje?

You'd instantiate an Evas smart object like the Esmart_Container and put
this object in a RECT in the Edje (this is called swallowing; a
part of the Edje swallows an Evas object).

The Esmart_Container then would hold Evas text objects or other Edjes.

> To elaborate a bit:
> 
>   * Chapter 5 of the Edje Dev Guide mentions that events can come from
>     Edje, from the user, or from the window manager. How about events
>     that occurr in the application itself?

Sure, that's possible, too. See edje_object_signal_emit() and
edje_object_message_send(). Both of these functions are accessable by
Embryo, too, so you can even call them from the Edje rather than the
C/Ruby code :D

>   * Do I have to store each entry in the list as an Edje text part? I
>     feel reluctant to keep two copies of a each object that my app
>     exposes to the UI: one in the app backend and one in the UI part.
>     Is there a way to have Edje fetch the 30 or so entries, that are on
>     screen simultaniously, from the backend? I.e. is it possible to
>     create a UI that pulls object from the backend lazyly?

No, that's not possible.

-- 
Regards,
Tilman


-------------------------------------------------------
This SF.Net email is sponsored by: IntelliVIEW -- Interactive Reporting
Tool for open source databases. Create drag-&-drop reports. Save time
by over 75%! Publish reports on the web. Export to DOC, XLS, RTF, etc.
Download a FREE copy at http://www.intelliview.com/go/osdn_nl
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to