[Gambas-user] Showmodal causes invalid object!
John Spikowski
support at ...2529...
Fri Feb 18 01:25:49 CET 2011
On Fri, 2011-02-18 at 00:39 +0100, Benoît Minisini wrote:
> What do people think?
I think the parent / child relationship must be maintained. If you
terminate the parent, all child controls, memory and processes are
terminated as well.
If a orphan window/dialog uses another windows message handler, then
it's Benoît call what is the sane thing to do is.
I use GTK-Server with ScriptBasic and I can have multiple windows using
a common event loop. All required events must be defined. There are a
few standard events like closing the window from the title bar button
but in general only expected events trigger an event otherwise
processing continues within Gtk internals. GTK-Server is a high level
interface to Gtk but it works well for interpreters and scripting
environments. (Interfaces: DLL/SO, TCP, FIFO and named pipes)
Event processing has always been an area I leave to those more
knowledgeable then me.
More information about the User
mailing list