gtk2/demos
Jonas Ådahl 27077d5be8 gtk/window: Make 'default-size' adapt to configured size
This commit changes the behavior of window size computation and the
default size properties to:

 * The default-width and default-height properties are updated to the
   current window size unless the size is fixed by e.g. being maxmized,
   tiled etc.
 * The compute-size semantics are to just pick the default size, or if
   not adequate, use the measured size, and consequently update the
   default size, unless unresizable.
 * gtk_window_get_size() is removed, what's more likely relevant is the
   gtk_window_get_default_size() which will now contain more sensible
   values.

Various places that used gtk_window_get_size() were updated to use
gtk_window_get_default_size() to remember and restore previous sizes.

This also changes the default value of 'default-width' and
'default-height' from -1 to 0. The gtk builder simplify tool is taught
how to omit when the default size is set to both -1 and 0.
2020-12-07 20:37:29 +01:00
..
constraint-editor Drop devel styling from our windows 2020-11-23 12:10:01 -05:00
gtk-demo gtk/window: Make 'default-size' adapt to configured size 2020-12-07 20:37:29 +01:00
icon-browser Drop devel styling from our windows 2020-11-23 12:10:01 -05:00
node-editor Drop devel styling from our windows 2020-11-23 12:10:01 -05:00
print-editor Drop devel styling from our windows 2020-11-23 12:10:01 -05:00
widget-factory gtk: Remove GtkFileChooserButton 2020-12-03 02:02:27 +01:00
meson.build Move print-editor to demos 2020-05-12 15:43:43 -04:00