antoyo / relm

Idiomatic, GTK+-based, GUI library, inspired by Elm, written in Rust
MIT License
2.43k stars 78 forks source link

How to set application-wide css stylesheet #213

Closed MGlolenstine closed 4 years ago

MGlolenstine commented 4 years ago

In the GTK+, they do it by directly applying it to an application, but in Relm, you don't use the Application, but you call run method on your Widget.

Is there a way to get the application directly or to set the stylesheet on a widget.

MGlolenstine commented 4 years ago

Ok, found this.

An example of this would be nice, so I might push a pull request for it.

antoyo commented 4 years ago

Nothing prevents you from using Application with relm.