How to use GTK-server with SmallBASIC?

Started by bprlhe, August 07, 2023, 20:50:09

Previous topic - Next topic

bprlhe


GTK-server is also developed by the same developer as BaCon:

https://www.gtk-server.org/

Well, I think the project is interesting. Is there any way to use it with SmallBASIC, or do I have to contact the developer to add support for SmallBASIC?

chrisws

Yes it looks interesting. I've started trying to build a module for this. 

chrisws

I had some success with making the module. I converted the scriptbasic demo.sb to demo.bas - the only thing that currently doesn't work is the combo box.


I was hoping to link to an existing gtk-server project on github (or elsewhere), but couldn't find one so have currently included their .c file directly.

https://github.com/smallbasic/smallbasic.plugins/tree/master/gtk-server

As noted in gtk-server.c  :)

This source has become a little bit messy. What started as a quick hack, grew out to a large program.