File tree Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Expand file tree Collapse file tree 3 files changed +16
-3
lines changed Original file line number Diff line number Diff line change @@ -10,6 +10,8 @@ You can use `ScrollableContainers` to reduce headaches.
10
10
pip install ScrollableContainers
11
11
```
12
12
13
+ [ Tkinter] ( #Tkinter ) [ wxPython] ( #wxPython ) [ Qt5] ( #Qt5 )
14
+
13
15
# Tkinter
14
16
` ScrollableContainers.Tk.ScrollableFrameTk ` : a comprehensive implementation of a scrollable frame.
15
17
@@ -39,3 +41,14 @@ Add widgets to the `panel` attribute of a `ScrollablePanelWx` object.
39
41
### Features
40
42
* Does everything the wrapped class does.
41
43
* Horizontally centres the contents if the window is wider.
44
+
45
+ # Qt5
46
+ ` ScrollableContainers.Qt5.ScrollableAreaQt5 ` : a thin wrapper around ` PyQt5.QtWidgets.QScrollArea ` .
47
+
48
+ ### Usage
49
+ Add widgets to the ` area ` attribute of a ` ScrollableAreaQt5 ` object.
50
+ [ See examples.] ( https://github.com/tfpf/ScrollableContainers/blob/main/examples/examples_ScrollableAreaQt5.py )
51
+
52
+ ### Features
53
+ * Does everything the wrapped class does.
54
+ * Horizontally centres the contents if the window is wider.
Original file line number Diff line number Diff line change @@ -24,7 +24,7 @@ def grid_of_widgets():
24
24
25
25
window .setCentralWidget (scrollable_area )
26
26
window .show ()
27
- app .exec_ ()
27
+ app .exec ()
28
28
29
29
###############################################################################
30
30
@@ -39,7 +39,7 @@ def single_widget():
39
39
40
40
window .setCentralWidget (scrollable_area )
41
41
window .show ()
42
- app .exec_ ()
42
+ app .exec ()
43
43
44
44
###############################################################################
45
45
Original file line number Diff line number Diff line change @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
4
4
5
5
[project ]
6
6
name = " ScrollableContainers"
7
- version = " 1.0a "
7
+ version = " 1.0a3 "
8
8
authors = [
9
9
{ name =" Vishal Pankaj Chandratreya" },
10
10
]
You can’t perform that action at this time.
0 commit comments