[Gtk-sharp-list] Gtk# constructors

Lee Mallabone gnome@fonicmonkey.net
18 Feb 2003 16:59:21 +0000


On Tue, 2003-02-18 at 16:43, Charles Iliya Krempeaux wrote:
> [...]
> 
> > 2: public HBox(IntPtr raw) : base(raw) {}
> 
> This one is necessary for people creating bindings.  You would
> use this if you had a PInvoke procedure that returned a (C based)
> GtkHBox struct.

Maybe I've got the wrong end of the stick here... Are you talking about people making bindings around the C# API, but using the C API themselves to manipulate their C based Gtk+ objects with the Gtk C# calls?

Because if that's what you're saying, Why would anyone do that?? :)

Lee.