I’m developing a GTK+ 3.0 application that uses VTE widget, how can I get the number of occurrences for the search regex or at least get the current text in terminal and process that? I’m using VTE 2.91 and Vala. Answer Vte.Terminal.get_text() will get you the currently visible text in the terminal for processing. I’m not sure that that includes
Tag: vala
Is there some kind of equivalent to .NET’s BackgroundWorker in Vala?
I’m trying to learn Vala so I’m making a small GUI application. My main language before has been C# so things are going pretty well. However, I’ve hit the wall now. I need to connect to an external network server (using GIO) which doesn’t answer my client immediately. This makes the GUI freeze up while the program is connecting and