which properties a widget has

Please feel free to merge that patch which just show a way to get the available properties for a widget.