Skip to content

Releases: insolor/tkinter-layout-helpers

0.6.0

03 Aug 14:20
Compare
Choose a tag to compare

BREAKING

Old(er) fluent style of adding widgets to a row won't work anymore.

So the following won't work:

row.add(widget).column_span(2).add(another_widget)

Instead, you'll need to add widgets to a row in separate lines:

row.add(widget).column_span(2)
row.add(another_widget)
  • Row.add() method now returns the added cell instead of the row itself
  • Methods column_span and row_span moved from Row to Cell and renamed to set_column_span and set_row_span respectively

What's Changed

  • BREAKING: Drop fluent style syntax by @insolor in #50

Full Changelog: 0.5.1...0.6.0

0.5.1

03 Aug 12:59
Compare
Choose a tag to compare

What's changed:

  • Fixed screenshot urls in README.md for correct display on pypi.org page and in docs

Full Changelog: 0.5.0...0.5.1

0.5.0

03 Aug 12:50
Compare
Choose a tag to compare

Changes

  • Implemented virtual grid.columns property:
for column in grid.columns:
    column.configure(weight=1)

Equivalent code for classic tkinter:

for i in range(5):  # We also need to count columns manually in classic tkinter
    root.grid_columnconfigure(i, weight=1)

Full Changelog: 0.4.1...0.5.0

0.4.1

02 Aug 18:39
Compare
Choose a tag to compare

Changes

  • Fixed return type annotation for context manager, which fixes hints from IDEs (issue #15).

Full Changelog: 0.4.0...0.4.1

0.4.0

02 Aug 16:08
Compare
Choose a tag to compare

Main changes

  • Added documentation
  • Implemented new with grid.new_row() as row syntax (see commit). The older fluent-style syntax is still supported, but considered less "pythonic".

What's Changed

  • Bump pytest-mock from 3.10.0 to 3.11.1 by @dependabot[bot] in #19
  • Bump pytest from 7.3.1 to 7.4.0 by @dependabot[bot] in #18
  • Bump the dev-dependencies group with 1 update by @dependabot[bot] in #20
  • Bump the all group with 1 update by @dependabot[bot] in #21
  • Bump the dev-dependencies group with 1 update by @dependabot[bot] in #22
  • Bump the dev-dependencies group with 1 update by @dependabot[bot] in #23
  • Bump the all group with 1 update by @dependabot[bot] in #24
  • Bump the github-actions group with 1 update by @dependabot[bot] in #25
  • Use ruff by @insolor in #26
  • Bump the dev-dependencies group with 2 updates by @dependabot[bot] in #27
  • Bump typing-extensions from 4.12.1 to 4.12.2 by @dependabot[bot] in #28
  • Bump ruff from 0.4.7 to 0.5.0 by @dependabot[bot] in #29
  • Bump ruff from 0.5.0 to 0.5.1 in the dev-dependencies group by @dependabot[bot] in #30
  • Bump the dev-dependencies group with 2 updates by @dependabot[bot] in #31
  • Bump ruff from 0.5.5 to 0.6.3 in the dev-dependencies group by @dependabot[bot] in #32
  • Bump the dev-dependencies group with 2 updates by @dependabot[bot] in #33
  • Bump ruff from 0.6.8 to 0.7.1 in the dev-dependencies group by @dependabot[bot] in #34
  • Bump the dev-dependencies group with 2 updates by @dependabot[bot] in #35
  • Bump ruff from 0.8.1 to 0.8.4 in the dev-dependencies group by @dependabot[bot] in #36
  • Bump ruff from 0.8.4 to 0.9.4 in the dev-dependencies group by @dependabot[bot] in #37
  • Bump ruff from 0.9.4 to 0.9.9 in the dev-dependencies group by @dependabot[bot] in #38
  • Bump the dev-dependencies group with 2 updates by @dependabot[bot] in #39
  • Bump ruff from 0.11.2 to 0.11.7 in the dev-dependencies group by @dependabot[bot] in #40
  • Bump typing-extensions from 4.12.2 to 4.13.2 by @dependabot[bot] in #41
  • Bump the dev-dependencies group with 2 updates by @dependabot[bot] in #42
  • Bump ruff from 0.11.12 to 0.12.1 in the dev-dependencies group by @dependabot[bot] in #43
  • Bump ruff from 0.12.1 to 0.12.7 in the dev-dependencies group by @dependabot[bot] in #44
  • Bump pytest from 8.3.5 to 8.4.1 in the dev-dependencies group by @dependabot[bot] in #47
  • Add documentation by @insolor in #49

Full Changelog: 0.3.0...0.4.0

0.3.0

03 Jun 11:02
Compare
Choose a tag to compare

What's Changed

  • Fixed annotations of context managers and helpers (#14)

Full Changelog: 0.2.0...0.3.0

0.2.0

26 May 17:13
4c18dea
Compare
Choose a tag to compare

What's Changed

This is the first pypi.org release of the project

  • Name of the project changed to tkinter_layout_helpers
  • Added a helper for .pack() layout
  • Dropped support of Python 3.6
  • Raw classes converted into dataclasses
  • Some fields were protected (at least to remove them from IDE hints)

Full Changelog: 0.1.2...0.2.0

0.1.2

18 Jun 21:39
Compare
Choose a tag to compare

Add skip method to leave empty cells in the current row

0.1.1

18 Jun 21:14
Compare
Choose a tag to compare

Some useful improvements:

  • Added row_configure method to Row
  • Added configure method to Row to call grid_rowconfigure on the parent widget
  • Changed priority of arguments passed to a grid method

0.1.0

18 Jun 20:28
Compare
Choose a tag to compare

The first release