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