On Wed, 2007-06-20 at 23:04 +0200, Søren Juul wrote:
> Yes of course, the source code is at http://www.zpon.dk/tmp/test.cs -
> sorry if it is messy
void makeWindow()
{
Application.Init ();
Window win = new Window ("gArray");
win.SetDefaultSize (150, 150);
You're creating a new "win" object in the local context and showing
that instead of setting/using the "win" you created in a module level
context. This should be:
void makeWindow()
{
Application.Init ();
win = new Window ("gArray");
win.SetDefaultSize (150, 150);
so that next () can use it.
Best,
-Brad
_______________________________________________
Gtk-sharp-list maillist - [email protected]
http://lists.ximian.com/mailman/listinfo/gtk-sharp-list