Skip to content

Conversation

@vtrlx
Copy link
Owner

@vtrlx vtrlx commented Sep 8, 2025

This new attribute functions like the css_classes built-in property of a Gtk.Widget, except it doesn't overwrite existing properties on an object. This allows classes like Gtk.Box—which adds a .vertical CSS class if it's oriented vertically—to function properly while setting CSS classes in the constructor.

This new attribute functions like the css_classes built-in property of a
Gtk.Widget, except it doesn't overwrite existing properties on an
object. This allows classes like Gtk.Box—which adds a .vertical CSS
class if it's oriented vertically—to function properly while setting CSS
classes in the constructor.
@vtrlx vtrlx merged commit 4e1b59e into master Sep 8, 2025
16 checks passed
@vtrlx vtrlx deleted the vtrlx/extra-css-classes branch September 8, 2025 19:26
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants