Filter functionality in the Demo

Hi list,

Would you consider helpful a filter box in the demo that would filter the demo modules according to a search criteria.

Attached is a patch for a simple “filter the names of the demo”… It just adds a textfield at the bottom of the tree control on the left that allows you to filter the items in the tree based on their name…but if you like the idea… maybe it could be expanded to do a full text search inside the .py files

Peter

Main.py.patch (3.66 KB)

···


There is NO FATE, we are the creators.

Peter Damoc wrote:

Hi list,

Would you consider helpful a filter box in the demo that would filter the demo modules according to a search criteria.

Attached is a patch for a simple "filter the names of the demo"... It just adds a textfield at the bottom of the tree control on the left that allows you to filter the items in the tree based on their name...

I like it, it's a very good idea.

but if you like the idea... maybe it could be expanded to do a full text search inside the .py files

I think that this might not be as useful. For example you wouldn't be able to easily narrow down to the sample for StaticText because most of the demos also use a wx.StaticText.

···

--
Robin Dunn
Software Craftsman
http://wxPython.org Java give you jitters? Relax with wxPython!