1stthomas / ffhs-gui-01

0 stars 0 forks source link

feature - Scrollbar implementation #6

Open 1stthomas opened 6 years ago

1stthomas commented 6 years ago

Full solution with a canvas as base, scrollbar and a frame inside the canvas, which could keep other widgets. How to implement: https://stackoverflow.com/questions/3085696/adding-a-scrollbar-to-a-group-of-widgets-in-tkinter, some hints on: https://stackoverflow.com/questions/16188420/python-tkinter-scrollbar-for-frame#16198198

1stthomas commented 6 years ago

Implemented by https://github.com/1stthomas/ffhs-gui-01/commit/612fd9a973d8917431f9a463a37b9865980aee0d and https://github.com/1stthomas/ffhs-gui-01/commit/7a22c3d0cde4c748fee18c5becde3a241589f3d9

1stthomas commented 6 years ago

Still open: Implement the mousewheel event

1stthomas commented 6 years ago

Closed by https://github.com/1stthomas/ffhs-gui-01/commit/d5bf6f1447e1a9ae4120d414d3dd152b1d3bc4e3

1stthomas commented 6 years ago

Show the scrollbar only if there is content to scroll. Otherwise hide it.