On Wed, Oct 20, 2010 at 5:56 AM, Tom Hacohen
<tom.haco...@partner.samsung.com> wrote:
> Yay.
> Does that mean that elementary will finally be moved out of TMP? :P
>
> Anyhow, great job, I love elementary, and was very glad to see this
> announcement.
>
> Please consider also including a bit of "internals exposing", for
> example, elm_notepad is made of an elm_entry, we should have a function
> "elm_notepad_elm_entry_get" that returns the elm_entry and lets up
> manipulate it like a regular entry, for example, setting line_wrap,
> toggling the "editable property", getting selection, and whatever. It's
> nice because we get a lot of cool stuff "for free", it's of course up to
> the users of the API not to do forbidden stuff like moving the elm_entry
> object itself, or whatever, but there are other idiotics thing that
> can't be done by the users and aren't done.
>

No. Returning internal objects for users to meddle with is a very bad idea.
What's done around with other composed widgets is adding functions
mirroring the ones of the internal widgets. It's ugly and I really dislike it,
but at least you keep your internals protected and when something is
not supposed to be done, you don't have to go around documenting it,
instead you just not provide the function to do it.

> That's what I think is missing for ALPHA.
> --
> Tom.
>
>
> ------------------------------------------------------------------------------
> Download new Adobe(R) Flash(R) Builder(TM) 4
> The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly
> Flex(R) Builder(TM)) enable the development of rich applications that run
> across multiple browsers and platforms. Download your free trials today!
> http://p.sf.net/sfu/adobe-dev2dev
> _______________________________________________
> enlightenment-devel mailing list
> enlightenment-devel@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/enlightenment-devel
>

------------------------------------------------------------------------------
Download new Adobe(R) Flash(R) Builder(TM) 4
The new Adobe(R) Flex(R) 4 and Flash(R) Builder(TM) 4 (formerly 
Flex(R) Builder(TM)) enable the development of rich applications that run
across multiple browsers and platforms. Download your free trials today!
http://p.sf.net/sfu/adobe-dev2dev
_______________________________________________
enlightenment-devel mailing list
enlightenment-devel@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/enlightenment-devel

Reply via email to