On 12 mai, 03:21, lineman78 <[email protected]> wrote:
> I have had difficulty finding this and figure it must be something
> stupid I can't find, but how do you create a widget from an element
> already in the DOM so you can get eventing,

Some widgets have a wrap() static method for this.

> or one not in the DOM so
> you can add it to a panel?

Some widgets have a (usually protected) constructor for this.

But note that you won't find any "complex" widget in GWT that can wrap
an existing DOM subtree (as you'll find in e.g. Closure Library). 3rd
party widget libs might enable this use-case though, just not "core
GWT widgets".

-- 
You received this message because you are subscribed to the Google Groups 
"Google Web Toolkit" group.
To post to this group, send email to [email protected].
To unsubscribe from this group, send email to 
[email protected].
For more options, visit this group at 
http://groups.google.com/group/google-web-toolkit?hl=en.

Reply via email to