More Notes

svn path=/trunk/gtk-sharp/; revision=859
This commit is contained in:
Bob Smith 2001-09-18 04:24:34 +00:00
parent c2d90eb282
commit 88e3e2c702

9
NOTES
View file

@ -27,4 +27,13 @@ pass the GtkWidget back to a constructor for the desided apon Widget wrapper?
How does gtk itself deal with this? Are we going to need a database of How does gtk itself deal with this? Are we going to need a database of
widget wrappers for this? widget wrappers for this?
Posible solution:
How does (ToType)GtkWidget work in c#. If the type you want to cast from is
not of the right type, but the ToType contains a constructor for GtkWidget,
will the cast succeed? If so, this will work quite nicely. Everything is a
GtkWidget object, and cast bindings as needed. If this does not work, can
the cast operator be overridden some how? If so, good deal. If not again,
see if System.Reflection has anything that will help in conjunction with the
GTK Type system.
Bob Bob