gtk/docs/reference/gdk
Jonas Ådahl 2ff74eb667 gdk/toplevel: Negotiate surface size via a compute-size signal
GTK will not up front know how to correctly calculate a size, since it
will not be able to reliably predict the constraints that may exist
where it will be mapped.

Thus, to handle this, calculate the size of the toplevel by having GDK
emitting a signal called 'compute-size' that will contain information
needed for computing a toplevel window size.

This signal may be emitted at any time, e.g. during
gdk_toplevel_present(), or spontaneously if constraints change.

This also drops the max size from the toplevel layout, while moving the
min size from the toplevel layout struct to the struct passed via the
signal,

This needs changes to a test case where we make sure we process
GDK_CONFIGURE etc, which means we also needs to show the window and
process all pending events in the test-focus-chain test case.
2020-08-05 15:49:00 +02:00
..
images docs: Remove unused images 2018-01-04 15:26:52 -05:00
gdk4-docs.xml docs: Fix several missing references in the documentation 2020-05-11 19:26:20 +02:00
gdk4-overrides.txt gdk: Remove GdkAtom 2020-02-23 01:59:26 +01:00
gdk4-sections.txt gdk/toplevel: Negotiate surface size via a compute-size signal 2020-08-05 15:49:00 +02:00
gdk4.types gdk: Make GdkKeymap a private api 2020-04-06 16:32:03 -04:00
meson.build gdk: Documentation fixups 2020-06-05 20:59:51 -04:00
version.xml.in Add package version info to API docs. 2002-11-21 20:19:01 +00:00