Re: Elementary documentation

2009-08-19 Thread Laszlo KREKACS
On Tue, Aug 18, 2009 at 6:09 PM, Rui Miguel Silva Seabrar...@1407.org wrote:
 Can you show me a complete mini-example, please?

I have a bit of trouble myself how evas, edje, elementary are related
to each other.

In paroli every root window is a elementary.Window, and we attache to
this window (or canvas? is elementary.Window has a secret evas.Canvas object,
or is it itself an evas object? Sorry no real understanding here)

a elementary.Layout object. The elementary.Layout itself is rather simple
it has only three methods:
file_set(edje_file, group_inside_edje_file) # set the edje file
edje_get() # returns with the edje object
content_set(swallow-name-inside-group, elementary_layout_object)


I fail to understand what is really required while initializing
elementary.Layout,
its *required* to pass an elementary.Window object or any canvas is enough?
So the window itself needs to be an elementary.Window, or can be a regular
evas window too?

So basically what you need is:
elm_layout = elementary.Layout(elementary.Window(window-title,
elementary.ELM_WIN_BASIC))
elm_layout.file_set(./my-awesomeness.edj)
elm_layout.content_set(swallow-wanna-inject-here, self.any_elementary_object)
(maybe we can inject here any edje object )


Really dont count on me, I lack the proper understanding, and I meet
these things only in paroli,
and in paroli these abstracted things are burried into some tichy
objects, and makes understanding
even more hard.

Hope it helps something. Would be nice, to have some clean example how to mix
elementary, edje and evas canvas

Best regards,
 Laszlo

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Elementary documentation

2009-08-19 Thread Laszlo KREKACS
On Mon, Aug 17, 2009 at 3:09 PM, Sebastian
Krzyszkowiakseba.d...@gmail.com wrote:
 (there are some problems with images, but they aren't as important as
 code and description :P)

How could we recover the images? Did somebody saved the page?

The images was very helpful on that page.

Laszlo

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Elementary documentation

2009-08-19 Thread Rui Miguel Silva Seabra
On Wed, Aug 19, 2009 at 01:58:01PM +0200, Laszlo KREKACS wrote:
 Hope it helps something. Would be nice, to have some clean example how to mix
 elementary, edje and evas canvas

Even though I don't have good python basics, I think it may help me make one C
test program from root.

I guess I'll try. Thanks!

Rui

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Elementary documentation

2009-08-18 Thread Laszlo KREKACS
On Mon, Aug 17, 2009 at 5:17 PM, Rui Miguel Silva Seabrar...@1407.org wrote:
 All I did in ElmDentica was lots of head butting against walls, that
 wiki document (and only about twice I saw it with images)

Yeah, would be nice to restore the images on that wiki pages.
Its rather difficult to decipher without images.

Sidenote: Dunno why, but what dos1 created does not include elementary.Layout,
what is listed on the wiki page. I think it is rather important part
(this allows to
design the gui in regular .edje file, and inject some elementary widget into
this gui).

So Im crying too, for an unified, and detailed documentation about all
widgets and
technics.;)

Laszlo

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Elementary documentation

2009-08-18 Thread Rui Miguel Silva Seabra
On Tue, Aug 18, 2009 at 05:14:46PM +0200, Laszlo KREKACS wrote:
 On Mon, Aug 17, 2009 at 5:17 PM, Rui Miguel Silva Seabrar...@1407.org wrote:
  All I did in ElmDentica was lots of head butting against walls, that
  wiki document (and only about twice I saw it with images)
 
 Yeah, would be nice to restore the images on that wiki pages.
 Its rather difficult to decipher without images.
 
 Sidenote: Dunno why, but what dos1 created does not include elementary.Layout,
 what is listed on the wiki page. I think it is rather important part
 (this allows to
 design the gui in regular .edje file, and inject some elementary widget into
 this gui).

Can you show me a complete mini-example, please?

Rui

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Elementary documentation

2009-08-17 Thread Sebastian Krzyszkowiak
On 8/17/09, Sebastian Krzyszkowiak seba.d...@gmail.com wrote:
 Hey,

 I couldn't find elementary documentation anywhere in web, but Doxygen
 based docs are avalable in elementary sources. I generated html files
 from that and put it into my server:
 http://openmoko.opendevice.org/~dos/elementary/

 I hope now we'll have so many great elementary based apps ;)

 --
 Sebastian Krzyszkowiak
 dos


If someone doesn't know it, this page can be also useful, as
documentation isn't complete yet:
http://trac.enlightenment.org/e/wiki/Elementary
(there are some problems with images, but they aren't as important as
code and description :P)

-- 
Sebastian Krzyszkowiak
dos

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community


Re: Elementary documentation

2009-08-17 Thread Rui Miguel Silva Seabra
On Mon, Aug 17, 2009 at 03:09:42PM +0200, Sebastian Krzyszkowiak wrote:
 On 8/17/09, Sebastian Krzyszkowiak seba.d...@gmail.com wrote:
  Hey,
 
  I couldn't find elementary documentation anywhere in web, but Doxygen
  based docs are avalable in elementary sources. I generated html files
  from that and put it into my server:
  http://openmoko.opendevice.org/~dos/elementary/
 
  I hope now we'll have so many great elementary based apps ;)
 
  --
  Sebastian Krzyszkowiak
  dos
 
 
 If someone doesn't know it, this page can be also useful, as
 documentation isn't complete yet:
 http://trac.enlightenment.org/e/wiki/Elementary
 (there are some problems with images, but they aren't as important as
 code and description :P)

All I did in ElmDentica was lots of head butting against walls, that
wiki document (and only about twice I saw it with images) and its examples,
the .h files and lots of bugging to friendly people on IRC to whom I'm
immensely grateful.

If someone documented better the arguments in the .h files, lot's of
problems would've been avoided.

Rui

___
Openmoko community mailing list
community@lists.openmoko.org
http://lists.openmoko.org/mailman/listinfo/community