Adds Autohiding
Status: Inactive
Brought to you by:
ziljian
Adds autohiding when mouse is moved out of window.
In the current version of pypanel, the pypanel panel is hidden after several seconds (CLOCK_DELAY) of inactivity. This patch adds behavior to hide the panel as soon as the mouse moves out of the panel, rendering the clock delay useless.
I'm certain more work could be done to combine the two (i.e., start the hide delay when the mouse moves out of the panel), but I don't have the time or interest to do that right now. It seems to me that such an idea would require ugly work with threads and sleeping anyway, though I could well be wrong.
Anyway, I'm happy how it turned out, I hope someone else finds it useful.
Add autohide functionality to PyPanel
Adds mouse-aware autohiding to pypanel, now with (the original) time delay.
Logged In: YES
user_id=804360
Originator: YES
I finally got around to not breaking the autohiding originally in Pypanel. This version of the mouse-aware autohiding will hide CLOCK_DELAY seconds after the mouse leaves the panel.
I'll be honest, a 3-second delay really _is_ much nicer than immediately. :)
Hope you find it useful,
Nick
File Added: pypanel_autohide-1.diff