I would say for creating the widget you describe you should not need any low-level stuff. Actually with GWT you should not need such stuff at all (perhaps except some tricky or unusual situations). I would firstly try to implement your widget extending Composite. If you look at the "rich text" component http://gwt.google.com/samples/Showcase/Showcase.html#CwRichText you can see that it offers some advanced functionality. In combination with disclosure panel or rather pop-up panel you could maybe implement your desired notes in a document. Try to check the Google Docs functionality/look and feel, almost all what you can see there can be implemented in GWT.
Cheers Roman On 26 čvn, 00:27, Rob <[email protected]> wrote: > Hi, > > I'm new to GWT and thinking of using it for a new version of an > existing app. I just went through the tutorial for the StockWatcher. > Now I'd like to learn a bit more about 2 things... > > 1. how to create custom widgets (not composites). > 2. how to take control of the low-level stuff, like exactly what HTML > or Javascript is getting "rendered" in the browser. > > I feel uncomfortable with any toolkit that doesn't allow this, because > sometimes I need to fix some weird bug and there is no other way than > an ugly low-level fix. The closest thing I found in the docs is in > the "Building User Interfaces" section of the "Developer's Guide". It > says to start with the source code for Button and TextBox. I looked > at those classes but I could use a guide to the architecture... is > there anything like that? > > Also... one of the custom widgets that I'd like to build is something > that allows a user to highlight and attach notes to the document -- as > students would in a textbook. Is such a thing possible with a custom > widget? Any libraries I should check to see if such a thing already > exists? > > thanks, > Rob --~--~---------~--~----~------------~-------~--~----~ 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 -~----------~----~----~----~------~----~------~--~---
