Re: [qooxdoo-devel] Programmatically closing Window while contained tooltip open causes problems.

2011-06-28 Thread arnis_andy
And since I'm on a roll and can't seem to help myself: /** * Adds a "clean-up handler" to destroy window after it is closed. Note * use this function with awareness that it will destroy the window after * all listeners to the window's "close" event have been called such that * the window shou

Re: [qooxdoo-devel] how to dispose a tabview page from a window ?

2011-06-28 Thread arnis_andy
I tried the one-shot timer method for calling destroy and it seems to work. Example: var win = new dohickie.ui.CustomWhizBangWindow(); win.setModal(true); win.addListener("myWhizBangEvent", this._handleWhizBang, this); function cleanUp() { // Setup a timer routine to call immedia

Re: [qooxdoo-devel] Programmatically closing Window while contained tooltip open causes problems.

2011-06-28 Thread arnis_andy
I posted comments on the previously referenced post. There's a suggestion to delay the destruction of the window via a one-shot timer such that current processing can be completed. This method seems to solve my problems. Here is an example of it's usage: var win = new dohickie.ui.configuration.

Re: [qooxdoo-devel] how to dispose a tabview page from a window ?

2011-06-28 Thread arnis_andy
Doesn't the win.destroy() method handle removing it from it's container and then disposing it? Do I need o manually remove it and if so, what is destroy() for? I'm having a very similar problem noted here: http://qooxdoo.678.n2.nabble.com/Programmatically-closing-Window-while-contained-tooltip-op

Re: [qooxdoo-devel] Programmatically closing Window while contained tooltip open causes problems.

2011-06-28 Thread arnis_andy
I think this is the post you were referring to: http://qooxdoo.678.n2.nabble.com/how-to-dispose-a-tabview-page-from-a-window-td6462553.html That does help in understanding, thank you. What I'd like to see in the documentation are more examples of best-practices for handling memory management of

[qooxdoo-devel] Programmatically closing Window while contained tooltip open causes problems.

2011-06-26 Thread arnis_andy
I'm running into an issue which I can reliably reproduce by programmatically closing a window when a tooltip for a contained widget is still visible. The way I first encountered it was by having a key handler dismiss the window (calling default "OK" buttons execute method via key handler if Enter

Re: [qooxdoo-devel] How does one center the text in a table header

2011-02-17 Thread arnis_andy
Thanks, guys! -- View this message in context: http://qooxdoo.678.n2.nabble.com/How-does-one-center-the-text-in-a-table-header-tp6034661p6037104.html Sent from the qooxdoo mailing list archive at Nabble.com. -- The ulti

[qooxdoo-devel] How does one center the text in a table header

2011-02-16 Thread arnis_andy
I have scrubbed the forums (and possibly not been using the right search terms,) but how does one center the text in a standard qx.ui.table.Table table's headers? I've managed to center the cell text via the cell renderers, but would like to do the same for the headers. -- View this message in c

Re: [qooxdoo-devel] New contrib release: Dialog 0.2

2010-08-21 Thread arnis_andy
I had the same experience. Thanks for the tip on removing the deprecated shortcuts. When using the contrib with a qooxdoo 1.2 app I received the same wonderfully misspelled error message: Unfullfilled dependency of class 'dialog.Dialog'[0]: 'dialog.alert' in my app, but was able to compile the

Re: [qooxdoo-devel] Duration assignment not being applied for Pulsate

2010-07-27 Thread arnis_andy
2nd time's a charm. Seems I need the call in the constructor to this.initDuration(); to get the apply method called: /* qooxdoo - the new era of web development http://qooxdoo.org Copyright: 2008 1&1 Inter

Re: [qooxdoo-devel] Duration assignment not being applied for Pulsate

2010-07-27 Thread arnis_andy
Just a follow up. Fix for Pulsate.js: /* qooxdoo - the new era of web development http://qooxdoo.org Copyright: 2008 1&1 Internet AG, Germany, http://www.1und1.de License: LGPL: http://www.gnu.org/

[qooxdoo-devel] Duration assignment not being applied for Pulsate

2010-07-26 Thread arnis_andy
I am seeing that "duration" property of Pulsate isn't being applied. It seems only to use the default init'ed value of 2. Looking at the code it appears that the __fadeEffects array is only updated at construction time. It looks like the refined property needs an apply method that updates the a

Re: [qooxdoo-devel] Memory Management best practices in composites

2010-07-26 Thread arnis_andy
Thank you. That was what I needed to know. I have several "extend : qx.ui.container.Composite" type objects that I will be creating and destroying many times throughout the lifetime of the application. From what you said it implies I need to make sure to clean up all the objects. For objects

Re: [qooxdoo-devel] Memory Management best practices in composites

2010-07-23 Thread arnis_andy
Is it even necessary for me to dispose of qx objects that are contained by other qx objects. For example if I do something in my constructor like: var groupBox = new.ui.groupbox.GroupBox("Stuff"); this.setLayout(new qx.ui.layout.VBox()); this.add(groupBox); do I need to set references to the gr

[qooxdoo-devel] Memory Management best practices in composites

2010-07-22 Thread arnis_andy
I have a "best practices" question. I have created several composite objects that have member widgets. For the the "sub-widgets" I create I use member object references that I make sure to destruct. However, I realized after trying to track down a memory leak I was causing with a List and ListI