Skip to content

Commit cad7282

Browse files
committed
No scrollable container for PyGObject.
1 parent 04f6c25 commit cad7282

File tree

1 file changed

+7
-0
lines changed

1 file changed

+7
-0
lines changed

README.md

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -59,3 +59,10 @@ Add widgets to the `area` attribute of a `ScrollableAreaQt5`/`ScrollableAreaQt6`
5959
### Features
6060
* Does everything the wrapped class does.
6161
* Horizontally centres the contents if the window is wider.
62+
63+
---
64+
65+
In GTK, containers are widgets, so they can be aligned in other containers. For instance, while using PyGObject, you
66+
can horizontally centre a `Gtk.Grid` in a `Gtk.ScrolledWindow` using `Gtk.Grid.set_halign`. Since horizontally centring
67+
the contents of a scrollable container is the primary function of this package, and GTK has built-in functionality to
68+
achieve the same, no submodule for PyGObject is implemented here.

0 commit comments

Comments
 (0)