From 88e3e2c7023f18ccd565b930d10a83acd16cef6a Mon Sep 17 00:00:00 2001 From: Bob Smith Date: Tue, 18 Sep 2001 04:24:34 +0000 Subject: [PATCH] More Notes svn path=/trunk/gtk-sharp/; revision=859 --- NOTES | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/NOTES b/NOTES index 72429e394..4ed54513e 100644 --- a/NOTES +++ b/NOTES @@ -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 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