can-lehmann / owlkettle

A declarative user interface framework based on GTK 4
https://can-lehmann.github.io/owlkettle/README
MIT License
367 stars 14 forks source link

Update expander row 1.4 and make more properties accessible #136

Closed PhilippMDoerner closed 3 months ago

PhilippMDoerner commented 7 months ago

While I was debugging ExpanderRow I noticed a couple properties weren't wrapped, so I added them.

Also in order to be able to have 2 way bindings for the "expanded" property (since you can set it while also influencing it from the user side by interacting with the widget) I added an event-listener for the "expannded" property.

Possibly not too valuable, but makes the wrapping around the row more "complete" in my eyes.

This also prepares ExpanderRow for higher adwaita versions, as adw_expander_row_add_action was deprecated in favour of adw_expander_row_add_suffix in Adwaita 1.4.