On Thu, 29 Dec 2011 03:07:32 -0500 Youness Alaoui
<kakar...@kakaroto.homelinux.net> wrote:

> On Thu, Dec 29, 2011 at 1:00 AM, David Seikel <onef...@gmail.com>
> wrote:
> 
> > On Thu, 29 Dec 2011 00:37:35 -0500 Youness Alaoui
> > <kakar...@kakaroto.homelinux.net> wrote:
> >
> > > p.s: Anyone knows how to use lua to get a part's object? all I
> > > saw in the doc is edje.edje() to create a new edje object.. but
> > > what if I want to write a script to get an existing part (like a
> > > text part) and modify it in lua?
> >
> > That sort of thing was vetoed by raster, though I had a design and
> > was ready to start coding it.  Edje Lua is supposed to be entirely
> > sandboxed, not being allowed to mess with external things.  Not
> > being allowed to use external image files, not being allowed to do
> > stuff to edje parts it did not create itself, etc.
> >
> euhh... ok, then it's completely useless, no?
> Why did raster veto it ? what were his reasons? I just want a simple
> edje script (embryo or lua) that would update a 'clock'  TEXT part
> with the current time. I could do it in C but it's so simple I don't
> feel the need for doing it in C (+ I don't want to make it a
> requirement, I want to let the theme designer decide if he wants to
> put one or not). I really don't understand the design decision on
> this, any pointers?

Create the text part from Lua. manipulate it from Lua.  The example lua
edje in the source exercises most of the edje Lua stuff.

I used the edje Lua stuff in a commercial product I was developing at
the time, so it's not useless.  The general idea is to entirely create
and manipulate edje and evas objects in the Lua edje script.  There's
definitely enough to do a simple text clock completely in Lua edje.
Even enough to do a fancy analog clock.

-- 
A big old stinking pile of genius that no one wants
coz there are too many silver coated monkeys in the world.

Attachment: signature.asc
Description: PGP signature

------------------------------------------------------------------------------
Ridiculously easy VDI. With Citrix VDI-in-a-Box, you don't need a complex
infrastructure or vast IT resources to deliver seamless, secure access to
virtual desktops. With this all-in-one solution, easily deploy virtual 
desktops for less than the cost of PCs and save 60% on VDI infrastructure 
costs. Try it free! http://p.sf.net/sfu/Citrix-VDIinabox
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to