Hi Simon,

On Thursday 21 July 2011 21:07:44 Simon White wrote:
> 1) If I want a user to terminate an application what method should be 
> called.  I was thinking of using an Exit Button in a window or toolbar 
> that could be used to terminate the entire application.  Is this the 
> proper way to shutdown a QooxDoo application.  If so do I just call the 
> terminate method of the application?
Yes, there is. 
-> http://demo.qooxdoo.org/current/apiviewer/#qx.core.ObjectRegistry~shutdown

--snip--
// starts the disposing of *all* objects of the registry
// This is automatically executed at application shutdown
qx.core.ObjectRegistry.shutdown();
--snip--

On the other hand, the shutdown is automatically executed if the user 
navigates away from the page. So you do not need to call this method manually 
- a redirect to another page would also do the job.

> 2) On my windows I am planning to use protected members to hold 
> references to child widgets.  Do these have to be disposed manually?  If 
> so am I using the proper method as shown in my code below?
Seems to me that everything is implemented in the right way. If you want to 
test your destructor you can find useful infos at the manual article about 
"Memory Management"

        http://manual.qooxdoo.org/1.5.x/pages/development/memory_management.html


Regards,
  Alex



------------------------------------------------------------------------------
10 Tips for Better Web Security
Learn 10 ways to better secure your business today. Topics covered include:
Web security, SSL, hacker attacks & Denial of Service (DoS), private keys,
security Microsoft Exchange, secure Instant Messaging, and much more.
http://www.accelacomm.com/jaw/sfnl/114/51426210/
_______________________________________________
qooxdoo-devel mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/qooxdoo-devel

Reply via email to