gtk-rs / gtk3-rs

Rust bindings for GTK 3
https://gtk-rs.org
MIT License
508 stars 90 forks source link

[gdk] Cannot create gdk::Geometry instance #718

Closed wusyong closed 2 years ago

wusyong commented 2 years ago

Fields in gdk::Geometry become private. This means we can't create the instance after 0.15 https://gtk-rs.org/gtk3-rs/stable/latest/docs/gdk/struct.Geometry.html

sdroege commented 2 years ago

What's the use-case for creating a gdk::Geometry yourself exactly?

PR is in https://github.com/gtk-rs/gtk3-rs/pull/721

bilelmoussaoui commented 2 years ago

@sdroege see https://gtk-rs.org/gtk3-rs/stable/latest/docs/gdk/struct.Window.html#method.set_geometry_hints