|
|
| Line 1: |
Line 1: |
| − | =New widget: interactive searchbox. Use our own interactive-search box to get it.=
| |
| − | Introduced in Gramps 4.2.0 (mentioned on Whats New page )
| |
| − | # more efficient (binary search on sorted columns).
| |
| − | # customizable (delayed by 150ms launch of search to avoid text scrambling)
| |
| | | | |
| − | https://gramps-project.org/wiki/index.php/Gramps_4.2_Wiki_Manual_-_What%27s_new%3F#GUI
| |
| − |
| |
| − | https://gramps-project.org/wiki/index.php/Gramps_5.1_Wiki_Manual_-_Navigation#Finding_records
| |
| − |
| |
| − | https://gramps.discourse.group/t/where-is-the-find-box-code/2505
| |
| − |
| |
| − | https://github.com/gramps-project/gramps/blob/master/gramps/gui/widgets/interactivesearchbox.py
| |
| − |
| |
| − | Press Ctrl-F to open the searchbox on any of the list or just give the list focus (select a line) and start typing
| |
| − |
| |
| − | * 150ms is 0.15 seconds ( quarter of a second)
| |
| − | ** Whats new mentions the timing is customizable ; so 1000ms is 1 second ( [https://github.com/gramps-project/gramps/blob/48fa8f33052aca542324143a448fc16d60535ed1/gramps/gui/widgets/interactivesearchbox.py#L59 line 59 shows: _SEARCH_DIALOG_LAUNCH_TIMEOUT = 150] and changing that works!
| |
| − |
| |
| − | If nothing is typed then after 5 seconds ( 5000ms ) the box goes away ( _SEARCH_DIALOG_TIMEOUT = 5000 )
| |