Re: Shrinking and growing widgets in GTK+ 3.x
- From: Havoc Pennington <hp pobox com>
- To: Bastien Nocera <hadess hadess net>
- Cc: GTK Development List <gtk-devel-list gnome org>
- Subject: Re: Shrinking and growing widgets in GTK+ 3.x
- Date: Thu, 2 Dec 2010 11:51:09 -0500
Hi,
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
Havoc
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]