[PD-dev] [pure-data:patches] #579 helpbrowser 0.2? (add arrow key navigation)

Sebastian Shader sebfumaster at users.sf.net
Thu Oct 13 01:13:29 CEST 2016




---

** [patches:#579] helpbrowser 0.2? (add arrow key navigation)**

**Status:** open
**Group:** feature
**Created:** Wed Oct 12, 2016 11:13 PM UTC by Sebastian Shader
**Last Updated:** Wed Oct 12, 2016 11:13 PM UTC
**Owner:** nobody
**Attachments:**

- [helpbrowser2.patch](https://sourceforge.net/p/pure-data/patches/579/attachment/helpbrowser2.patch) (13.5 kB; application/octet-stream)


I updated helpbrowser to use arrow keys for navigation, and updated the version to 0.2?
-took out searching the user libraries (only kept static path) because things were being added twice if people want to load a library on startup and it was in the staticpaths.

-added navigation by arrow keys

-changed method of destroying listboxes because of arrow navigation. 
Each listbox is now named in the pattern: helpbrowser.frame.root(listbox#). Whenever focus changes to a listbox, or a listbox is created (to avoid name clashes), the list of children is searched in the check_destroy proc using this name pattern and deletes all listboxes 2 or more after the focused one. This was the best method I could come up with. When focus changes, the scroll_destroy proc scrolls the focused listbox to the left (because it was scrolling right for some reason even though the right arrow key is bound) and then calls check_destroy.

I also added new procs for each "type" of listbox for dealing with arrow key navigation


---

Sent from sourceforge.net because pd-dev at lists.iem.at is subscribed to https://sourceforge.net/p/pure-data/patches/

To unsubscribe from further messages, a project admin can change settings at https://sourceforge.net/p/pure-data/admin/patches/options.  Or, if this is a mailing list, you can unsubscribe from the mailing list.
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.puredata.info/pipermail/pd-dev/attachments/20161012/8220fde7/attachment.html>


More information about the Pd-dev mailing list