the message will call “transpile_text” - outside of a Class (I assume it is outside of a Class, because I am thinking over procedures in Classes have the Form: proc :-> .
procedures in global Scope have the Form: proc :- .
However.
I tried calling with a Dialog Object the message: message(D,transpile_text,TI)
but this will not send or effect any actions.
It seems that this message will never called.
And if they called, I get error Message.
So, it is possible to handle the message inside the Class members (as Class procedure) ?
There is a lot of code in the xpce Prolog library that does all these things that you can use for inspiration. XPCE is old. I think there are some copies of the old manuals floating around (probably in PostScript ). I wouldn’t use it for anything serious. It is maintained for some old projects as well as the development tools. One can certainly make a case for modernizing it as it is a pretty productive environment once you understand its (outdated) terminology. I doubt this will happen though.
In most cases I use Prolog as web server these days to create GUIs. Other people embed Prolog in Gtk, Python+Something, C+++Something, etc.
Did anyone have a look at using Prolog with Electron?