Am Dienstag 05 August 2008 16:35:58 schrieb Martin Vidner:
>
> You can copy the implementation from here:
> YCP_UI::ReplaceWidget, line 786 of
> http://svn.opensuse.org/svn/yast/trunk/ycp-ui-bindings/src/YCP_UI.cc
#if VERBOSE_REPLACE_WIDGET
replacePoint->dumpDialogWidgetTree();
#endif
YDialog * dialog = YDialog::currentDialog();
YWidget::OptimizeChanges below( *dialog ); // delay screen updates
until this block is left
replacePoint->deleteChildren();
YCPDialogParser::parseWidgetTreeTerm( replacePoint, newContentTerm );
replacePoint->showChild();
#if VERBOSE_REPLACE_WIDGET
replacePoint->dumpDialogWidgetTree();
#endif
dialog->setInitialSize();
dialog->checkShortcuts();
hmm ... looking at the code i will give it a try , but we probably the *Tree
calls need to be fixed first for the python bindings.
As both the rebuildMenuTree and rebuildTree fail atm, this *Tree operation
migth also fail.
I'll try to use it manually and report.
Thank you!
Best regards
Jan-Simon
--
To unsubscribe, e-mail: [EMAIL PROTECTED]
For additional commands, e-mail: [EMAIL PROTECTED]