oaubert / python-vlc

Python vlc bindings
GNU Lesser General Public License v2.1
384 stars 110 forks source link

Improved and more. #233

Closed mrJean1 closed 1 year ago

mrJean1 commented 1 year ago

This tkvlc.py has been modified to make dragging over the buttons panel work and with two new options.

The original code to un-anchor (detach) the buttons panel by dragging (press-move-release of) the left mouse button in the buttons panel never worked properly. In addition, once the buttons panel is un-anchored from the video panel, it is stuck somewhere in the middle of the screen, can't be moved or re-anchored to the video panel.

A new menu option Buttons Up/Down and a new button Up/Down have been added to toggle the buttons panel between anchored under the video panel (aka Down) or un-anchored in the top-left corner of the screen (aka Up).

Also, dragging works but disabled by default. Use command line option -dragging to enable dragging. __ PS) Instead of using 2 separate panels one for video and for the buttons and keeping those attached, preferable would be a single panel with the buttons and video inside and without the video overwriting the buttons. All attempts made so far have not been successful.