The YaST UI has introspection on the widget level: In any YaST dialog, hit Ctrl-Shift-Alt-Y (Qt UI) to open the YDialogSpy. Use the widget tree that pops up to highlight the corresponding widget in the dialog. Hit the "Properties" button to see the widget's properties (current value, layout stretch factors, layout weights, ...).
Superseded by project YaST Dialog Editor (UI "Designer")
!! superseded !!
What was missing is a way to edit any of those properties; that would be very useful for fine-tuning dialogs and their resize behaviour. But that's done now in that other project.
Relevant Source Code
Widget properties are defined in a very generic way in the YWidget base class (see YWidget.h and YWidget.cc)
A property has a name and a type on that generic level
YWidget subclasses add their own properties to the ones inherited from the base class
Keep it simple: Only support simple data types for now like string, int, bool
This YDialogSpy property editor extension might be a simple step towards that higher goal of that dialog editor.
No Hackers yet
This project is part of:
Hack Week 14