** [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

 (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 


Sent from sourceforge.net because pd-dev@lists.iem.at is subscribed to 

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.
Pd-dev mailing list

Reply via email to