Tutorial :Windows.Forms and gtk# interoperability?



Question:

Can I combine code that uses System.Drawing.Bitmap together with other code in a program that uses GTK#? I would like to be able to display the Bitmap image processed in a GTK# window/widget.

More generally, is there any interoperability between the two toolkits? For example is there any classes, like Rectangle, that would work on both, or perhaps a wrapper class?


Solution:1

System.Drawing isn't really specific to WinForms, and it's at the very least possible to get Graphics instances from Gdk.Drawables in Gtk#.


Note:If u also have question or solution just comment us below or mail us on toontricks1994@gmail.com
Previous
Next Post »