Taiko2k / GTK4PythonTutorial

GTK4 + Python tutorial with code examples
446 stars 33 forks source link

set_modal seems to be used incorrectly #27

Closed sigmaSd closed 5 months ago

sigmaSd commented 7 months ago

The examples in the README takes the parent widget, but accodring to the docs it just takes a boolean , and I tried it and indeed just using true or false works

https://docs.gtk.org/gtk4/method.Window.set_modal.html

Taiko2k commented 7 months ago

Agreed, feel free to make a PR