More Notes
svn path=/trunk/gtk-sharp/; revision=859
This commit is contained in:
parent
c2d90eb282
commit
88e3e2c702
1 changed files with 9 additions and 0 deletions
9
NOTES
9
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
|
||||
|
|
Loading…
Reference in a new issue