Re: Does one create an event to notify parent window/GUI of something?

2017-03-13 Thread Michael Torrie
On 03/13/2017 02:37 AM, Chris Green wrote: > Michael Torrie wrote: >> On 03/12/2017 06:14 AM, Chris Green wrote: >>> There are (of course) event handlers for the 'Save' and 'Cancel' >>> button click events in abookeditgui, what I need is hooks from these >>> to run some code in abookgui after the

Re: Does one create an event to notify parent window/GUI of something?

2017-03-13 Thread Chris Green
Michael Torrie wrote: > On 03/12/2017 06:14 AM, Chris Green wrote: > > There are (of course) event handlers for the 'Save' and 'Cancel' > > button click events in abookeditgui, what I need is hooks from these > > to run some code in abookgui after the abookeditgui has completed. How > > should one

Re: Does one create an event to notify parent window/GUI of something?

2017-03-12 Thread Michael Torrie
On 03/12/2017 06:14 AM, Chris Green wrote: > There are (of course) event handlers for the 'Save' and 'Cancel' > button click events in abookeditgui, what I need is hooks from these > to run some code in abookgui after the abookeditgui has completed. How > should one do this, is there a way for a cl

Re: Does one create an event to notify parent window/GUI of something?

2017-03-12 Thread Chris Green
Vlastimil Brom wrote: > 2017-03-12 13:14 GMT+01:00 Chris Green : > ... > > > > This question relates to how one communicates between windows/GUIs. > > > > When the program starts theres a main GUI, class name abookgui. If > > you want to add new entries or modify existing entries an edit GUI is >

Re: Does one create an event to notify parent window/GUI of something?

2017-03-12 Thread Vlastimil Brom
2017-03-12 13:14 GMT+01:00 Chris Green : ... > > This question relates to how one communicates between windows/GUIs. > > When the program starts theres a main GUI, class name abookgui. If > you want to add new entries or modify existing entries an edit GUI is > started in a separate window, class

Re: Does one create an event to notify parent window/GUI of something?

2017-03-12 Thread Chris Green
Dennis Lee Bieber wrote: > On Sun, 12 Mar 2017 12:14:32 +, Chris Green declaimed the > following: > > >This is a rather a beginner question. I'm heavily modifying some code > >that was an LDAP address book to be a sqlite3 based address book. I > >have the basic GUI working and I'm now gett

Does one create an event to notify parent window/GUI of something?

2017-03-12 Thread Chris Green
This is a rather a beginner question. I'm heavily modifying some code that was an LDAP address book to be a sqlite3 based address book. I have the basic GUI working and I'm now getting the database connections to work. This question relates to how one communicates between windows/GUIs. When the