C (54/178)

From:Allan Odgaard
Date:15 Jul 2000 at 02:30:42
Subject:Re: I am going OO nuts !!!

On 04-Jul-00, Tim Hanson wrote:

> I`m in total agreement here. MUI code looks like greek to me. Could
> someone post a really simple example of, say, opening a window with
> one gadget on a public screen?

Attached example opens a window with a texteditor object and a button.

If you press the button, the texteditor will be cleared.

If you exit, and have changed the text, it'll be written to stdout.

I don't think it gets much simpler than that...

A little challenge: add a HTMLview-object and setup a notify between the
editor and this, then you actually have a quite neat HTML-editor, made
in less than 80 lines of code ;-)

Regards Allan

------------------------------------------------------------------------
The Most Expensive Thing You Can Haul Is An Empty Trailer.
http://click.egroups.com/1/5776/1/_/451227/_/963624885/
------------------------------------------------------------------------