Hello, On Jun 20 15:38 Ricardo Cruz wrote (shortened):
Qua, 2007-06-20 às 09:02 +0200, Katarina Machalkova escreveu:
I guess this is a complete list of Qt-only widgets (don't know what is the status of these in Gtk, though) that are definitely not supported in ncurses: http://forgeftp.novell.com/yast/doc/SL10.2/tdg/YUI_special_widgets.html
... In any case, to check if a special widget is supported you use UI::doesItSupportWidget(X) (or whatever its called); you don't do a hard check on what interface is being used.
Perhaps I misunderstand something and perhaps it is a bit off-topic: Is there an automated check which I could apply to YCP sources which tests if a widget is used which does not work o.k. in all underlying UI systems? I noticed some sources of information which widget is supported where (Qt, Gtk, ncurses, whatever else ...). But I am not a hardcore YCP programmer. I neither have the time nor the interest to read continuously whatever sources of information which widgets I can use in YCP so that it works o.k. for all underlying UI systems. I don't want to think about how I could emulate whatever widget for UI "foo" which unfortunately works only for UI "bar". I like to use only widgets that work o.k. for all UIs. If I don't get clear warning messges during "make", the YCP code is o.k. for me. I use tests like y2tool check_ycp src/*.ycp ycpc -qE -M. -I. src/*.ycp but when there are no warnings, it is o.k. for me. Kind Regards Johannes Meixner -- SUSE LINUX Products GmbH, Maxfeldstrasse 5, 90409 Nuernberg, Germany AG Nuernberg, HRB 16746, GF: Markus Rex