From: Carsten H. (T. R. <ra...@ra...> - 2006-02-08 07:19:04
|
On Wed, 08 Feb 2006 01:43:03 -0600 Ed Presutti <epr...@co...> babbled: > On Wed, 2006-02-08 at 15:34 +0900, Carsten Haitzler wrote: > > On Wed, 08 Feb 2006 01:05:49 -0600 Ed Presutti <epr...@co...> > > babbled: > > > > > Is there a way to set the state of an Edje part using C? > > > > > > I'm currently using a program inside of the Edje file to set state. I > > > would like to do it via the C API if possible. > > > > no. u need to use programs to handle signals to set the state. > > > > Would it be worth my time to create a patch to add the C API to Edje? > I'm just wondering if this was a "nice to have" that hasn't been > implemented yet. If so, I can do a little work on a patch. If it's a > "not going to happen" then i'll leave it be and continue to use signals. whats wrong with using signals? signals are a subset of the edje message queue api - this is basicalyl an ipc system for process <-> edje to talk back and forth. settign the state explicitly kind of bypasses the channel by setting something directly - it kind of is a bit evil imho. if it's a nmatter of just gettign tired of writign signal handler programs... write a macro so it becoems a 1 liner :) -- ------------- Codito, ergo sum - "I code, therefore I am" -------------- The Rasterman (Carsten Haitzler) ra...@ra... 裸好多 Tokyo, Japan (東京 日本) |