Skip to content

Commit c8a6fbb

Browse files
committed
Made importing the classes simpler.
Bumped the package version.
1 parent c069f15 commit c8a6fbb

File tree

7 files changed

+13
-9
lines changed

7 files changed

+13
-9
lines changed

README.md

Lines changed: 4 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -21,8 +21,8 @@ to: the Tcl Core Team, the Python Software Foundation, the wxWidgets Team, the w
2121
Riverbank Computing.**
2222

2323
# Tkinter
24-
`ScrollableContainers.Tk.ScrollableFrameTk`: a comprehensive implementation of a scrollable frame, and the flagship
25-
class of this project. (I wrote the other classes just for completeness.)
24+
`ScrollableContainers.ScrollableFrameTk`: a comprehensive implementation of a scrollable frame, and the flagship class
25+
of this project. (I wrote the other classes just for completeness.)
2626

2727
### Usage
2828
Add widgets to the `frame` attribute of a `ScrollableFrameTk` object.
@@ -41,7 +41,7 @@ Add widgets to the `frame` attribute of a `ScrollableFrameTk` object.
4141
scroll events. Do not `unbind_all` (or `bind_all` another function to) these three sequences!
4242

4343
# wxPython
44-
`ScrollableContainers.Wx.ScrollablePanelWx`: a thin wrapper around `wx.lib.scrolledpanel.ScrolledPanel`.
44+
`ScrollableContainers.ScrollablePanelWx`: a thin wrapper around `wx.lib.scrolledpanel.ScrolledPanel`.
4545

4646
### Usage
4747
Add widgets to the `panel` attribute of a `ScrollablePanelWx` object.
@@ -52,7 +52,7 @@ Add widgets to the `panel` attribute of a `ScrollablePanelWx` object.
5252
* Horizontally centres the contents if the window is wider.
5353

5454
# PyQt5/PyQt6
55-
`ScrollableContainers.Qt5.ScrollableAreaQt5`/`ScrollableContainers.Qt6.ScrollableAreaQt6`: a thin wrapper around
55+
`ScrollableContainers.ScrollableAreaQt5`/`ScrollableContainers.Qt6.ScrollableAreaQt6`: a thin wrapper around
5656
`PyQt5.QtWidgets.QScrollArea`/`PyQt6.QtWidgets.QScrollArea`.
5757

5858
### Usage

examples/examples_ScrollableAreaQt5.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from PyQt5.QtCore import QSize
55
from PyQt5.QtWidgets import QApplication, QGridLayout, QLabel, QMainWindow, QVBoxLayout
66

7-
from ScrollableContainers.Qt5 import ScrollableAreaQt5
7+
from ScrollableContainers import ScrollableAreaQt5
88

99

1010
class ExamplesScrollableAreaQt5:

examples/examples_ScrollableAreaQt6.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
from PyQt6.QtCore import QSize
55
from PyQt6.QtWidgets import QApplication, QGridLayout, QLabel, QMainWindow, QVBoxLayout
66

7-
from ScrollableContainers.Qt6 import ScrollableAreaQt6
7+
from ScrollableContainers import ScrollableAreaQt6
88

99

1010
class ExamplesScrollableAreaQt6:

examples/examples_ScrollableFrameTk.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@
44
import tkinter as tk
55
import tkinter.ttk as ttk
66

7-
from ScrollableContainers.Tk import ScrollableFrameTk
7+
from ScrollableContainers import ScrollableFrameTk
88

99

1010
class ExamplesScrollableFrameTk:

examples/examples_ScrollablePanelWx.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
import itertools
44
import wx
55

6-
from ScrollableContainers.Wx import ScrollablePanelWx
6+
from ScrollableContainers import ScrollablePanelWx
77

88

99
class ExamplesScrollablePanelWx:

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"
44

55
[project]
66
name = "ScrollableContainers"
7-
version = "1.0.1"
7+
version = "1.1.1"
88
authors = [
99
{ name="Vishal Pankaj Chandratreya" },
1010
]
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
from .Qt5 import *
2+
from .Qt6 import *
3+
from .Tk import *
4+
from .Wx import *

0 commit comments

Comments
 (0)