DWT event handling
bobef
bobef at nospam-abv.bg
Sun May 18 03:08:19 PDT 2008
void handleTextEvent (Event e, Composite composite, TreeItem item, TreeEditor editor,Text text, int inset )
This is longer to write than new class {blah blah} :)
Frank Benoit Wrote:
> I added the template function Bill suggested once to the
> dwt.widgets.Listener module.
>
> http://www.dsource.org/projects/dwt-linux/browser/dwt/widgets/Listener.d?rev=243%3A84629474b5ec
>
> You can see that in action in this snippet
> http://www.dsource.org/projects/dwt-samples/browser/snippets/treeeditor/Snippet111.d?rev=85%3Afa286c85e7b8
>
> See lines: 102..106
>
> Thanks Bill for the snippets and for this cool template function suggestion.
>
> Frank
More information about the Digitalmars-d-dwt
mailing list