And just to comment: I've read in the docs that widget. which will be used, must be previously created WITHOUT parent.