bodil / vgtk

A declarative desktop UI framework for Rust built on GTK and Gtk-rs
http://bodil.lol/vgtk/
Other
1.05k stars 37 forks source link

Add Image::surface property #51

Closed nt8r closed 3 years ago

nt8r commented 4 years ago

This is the only way to set HIDPI-aware image content.

nt8r commented 4 years ago

See gtk#613 for more background.

I'm not certain I've implemented the PropertyValueCompare/PropertyValueCoerce traits in an idiomatic way, so review would be appreciated.

pepijndevos commented 3 years ago

I think the clippy error has nothing to do with your change?