[Gambas-user] Control GUI (Qt5) Gambas program via Standard Input
bsteers4 at gmail.com
Tue Feb 14 02:00:37 CET 2023
it's the input handlere.
Putting this in Form_close() fixes it...
Public Sub Form_Close()
On Mon, 13 Feb 2023 at 23:08, <james at lixce.com> wrote:
> I noticed the same effect of the app not stoping when using the STATIC
> keyword. Guess I need to dig into the interpreter source code and see if I
> can figure anything out which is unlikely because I'm just not that smart.
> Brian G,
> I'm passing data and control codes from one Gambas Gui application to
> another. For example; I want my Weather program to update the current
> conditions in the Panel application that is always running, the menu based
> Launcher app requests the panel launch new programs so that the Panel app
> is the parent of the newly launched process and the Launcher app can exit
> cleanly, The Contact app requests the Browser open webpages and the Phone
> Dialer make calls, the Wordprocessor calls the Dictionary app to define a
> word, etc. The single threaded nature of Gambas makes small programs that
> cooperate more responsive than large monolithic programs. I can use Pipes
> or Watch files or even Signals to do these things but Standard In is the
> traditional (pre-DBUS ) way of doing it and, IF I can get it working, it is
> an elegant solution as Standard Input is automatically created by the
> Kernel in a well-documented location that can be derived from the PID of
> any running application.
> J. Jordan
> ----[ http://gambaswiki.org/wiki/doc/netiquette ]----
-------------- next part --------------
An HTML attachment was scrubbed...
More information about the User