Re: Shrinking and growing widgets in GTK+ 3.x


It seems like the following would work but maybe I'm missing the obvious

* have the video request natural size = its natural unscaled size, and
min size of whatever lowest scale factor you want to allow

* to snap to natural size, just size request the entire toplevel to
get the natural size, then gtk_window_resize() to that size


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]