Re: [Gambas-user] gambas newbie question re custom events

2013-07-21 Thread Horst Herb
Thanks all for your replies. Especially Tobias Boege's reply helped me to solve my problem, but I also learned a lot from Bruce's Observer class in his not-at-all silly example. Regards, Horst On Fri, Jul 19, 2013 at 5:56 PM, Tobias Boege wrote: > On Fri, 19 Jul 2013, Horst Herb wrote: > > I w

Re: [Gambas-user] gambas newbie question re custom events

2013-07-19 Thread Tobias Boege
On Fri, 19 Jul 2013, Horst Herb wrote: > I would be most grateful if somebody could point me to a relevant section > of documentation or provide me with a minimal example for my following > problem: > > I have a data model (non-GUI) that wants to emit a custom event (eg > "DataChanged"). Let's say

Re: [Gambas-user] gambas newbie question re custom events

2013-07-18 Thread Fabien Bodard
Why using an observer ? Le 19 juil. 2013 05:55, "Bruce" a écrit : > Here's a simple (albeit silly) demo of how to use the Observer class. > hth > Bruce > > > -- > See everything from the browser to the database with AppDy

Re: [Gambas-user] gambas newbie question re custom events

2013-07-18 Thread Bruce
Here's a simple (albeit silly) demo of how to use the Observer class. hth Bruce demo_events-0.0.1.tar.gz Description: application/compressed-tar -- See everything from the browser to the database with AppDynamics Get end-

[Gambas-user] gambas newbie question re custom events

2013-07-18 Thread Horst Herb
I would be most grateful if somebody could point me to a relevant section of documentation or provide me with a minimal example for my following problem: I have a data model (non-GUI) that wants to emit a custom event (eg "DataChanged"). Let's say for simplicity that the model is a simple string,