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
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
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.
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
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
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
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
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
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
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
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/
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
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
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
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
15 matches
Mail list logo