mirror of
https://github.com/Ryujinx/GtkSharp.git
synced 2024-09-30 17:48:36 +02:00
More Notes
svn path=/trunk/gtk-sharp/; revision=859
This commit is contained in:
parent
c2d90eb282
commit
88e3e2c702
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
|
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
|
||||||
|
Loading…
Reference in New Issue
Block a user