Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Possible to port gui functions with swig

Tags:

go

gtk

swig

I was wondering if it would be possible to port the gtk gui framework to Go with the swig wrapper? Or am I just living in a fantasy world?

like image 453
a sandwhich Avatar asked Dec 06 '25 12:12

a sandwhich


1 Answers

Technically, yes. It looks like SWIG support for Go is limited right now.

The real problem with simple SWIG wrappers is the ugly details leak through. The produced interface would need a layer on top of it in order to provide "Goish" behavior, especially in regards to garbage collection and interfaces.

like image 179
Yann Ramin Avatar answered Dec 08 '25 01:12

Yann Ramin



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!