Nathan Ingersoll wrote:
On 1/8/06, *Ben Ford* <[EMAIL PROTECTED] <mailto:[EMAIL PROTECTED]>>
wrote:
The docs for EWL make it seem to be a container based toolkit
instead of
pixel based. Still, I am finding myself having to specify exact pixel
sizes for many of the widgets that I am using (and even then, some
don't
want to behave right.) Are there known bugs in this area, or am I
just
abusing the library again?
It is container based and you really shouldn't have to specify the
size of widgets unless there is an exact size that you want as a
requirement. Maybe a piece of sample code or screenshot could help
clarify what you are trying to accomplish.
Are sizes computed at runtime or at creation time? If the sizes are
computed at creation time, I can see a problem with what I'm doing. I
have a function that creates a box and packs widgets into it. This is
then used as the page of a notebook:
tab = generate_tab(stuff);
page = generate_page(stuff);
ewl_notebook_page_append(EWL_NOTEBOOK(notebook), tab, page);
Even so, if I specify the dimensions of the page before packing widgets
into it, things still don't fit. (http://lug.wsu.edu/~ben/shot.jpg) I
can get things to look a little better with massive use of fill
policies, but nothing looks right until I specify pixel dimensions for
everything.
What is the relative maturity of EWL? Should I be basing a production
application on it yet?
That's a pretty difficult assessment to give you. If you can't afford
to maintain the code against slightly changing API's, then no I would
not use it for a production application. If that is not a problem, and
you can achieve your layout needs, then I don't see a compelling
reason that it couldn't be used. Just remember this is development
code still (like all of the EFL, though some parts are more static
now) and can have drastic changes in CVS on occassion.
A changing API is fine. There's nothing forcing us to track the latest
CVS updates :) As long as I can consistently get a decent layout, I'm
happy.
thanks.
-b
-------------------------------------------------------
This SF.net email is sponsored by: Splunk Inc. Do you grep through log files
for problems? Stop! Download the new AJAX search engine that makes
searching your log files as easy as surfing the web. DOWNLOAD SPLUNK!
http://ads.osdn.com/?ad_id=7637&alloc_id=16865&op=click
_______________________________________________
enlightenment-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel