The best way to show what spy does is to see what kind of view it offers of the application tksql
On the right is the console of tksql invoked w/ opt -db danze, on the right is the table 'gruppi' after we clicked on it. Below is the filter popped by a click on the columns. Each row can be filtered (even if the column is a function) and the operator can be choosen thru the pop down menu.
it is always possible to view the sql statement that will be generated by the filter builder and it is possible to edit it before executing, so we can still group, statements of substitute AND w/ OR.
Let us look inside the application w/ the spy function, it can be called from within the application w/ <Alt-Button1> or from a command line w/ spy
A right click on the icon of a widget, pops the menu that is shown on the
left, from that we can inspect options, bindings, manager info. Variable and
procedures are grouped in namespaces.
The filter allows us to limit the variable/procedures shown to those matching
a pattern. Colors and icons help us recognize the items, the manager used and
the opts of pack/grid.
All these layout are created w/ sd::layout