[Gtk-sharp-list] HTML Object as Container

Marc Lucks n1LWeb@web.de
Wed, 9 Jun 2004 01:16:25 +0200


On Mon, 7 Jun 2004 22:52:33 +0200
Marc Lucks <n1LWeb@web.de> wrote:

> Fine :-) Now it isn't crashing anymore. But the Button still doesn't get
> Displayed.
> 
> Any ideas?

Okay, now I'm really going to get weird :-)

I just wanted to test mint, and tested it with my problematic exe.

And it works!

With mono the Widget isn't displayed, and with mint it is. Seem's like there's
no error in my code :-)

This is my Object Requested handler:

	static void Object_Requested( object o, ObjectRequestedArgs args ){
		Object_Requested2(args.Arg2);
	}

	public static void Object_Requested2( HTMLEmbedded he ){
		Button wid;

		Console.WriteLine("Object_Request");
		
		wid=new Button("Test");

		wid.Show();

		//he.SetSizeRequest(20,20);
		he.Child=wid;
		he.Show();
	}

(The two functions are leftover from my tests)

I've uploaded the whole source and my Build script to
http://n1l.freezope.org/test.tar.bz2 so you can check what's wrong with it.

The Versions I'm using are:

bash-2.05b$ mono -V
Mono JIT compiler version 0.95, (C) 2002-2004 Novell, Inc and Contributors. www.go-mono.com
        TLS:           normal
        GC:            Included Boehm (with typed GC)
        SIGSEGV      : altstack
        Globalization: ICU
bash-2.05b$ mint
mint 0.95, the Mono ECMA CLI interpreter, (C) 2001, 2002 Ximian, Inc.

Marc