gtk2/gtk/inspector
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
..
a11y.c inspector: Add a type check 2020-08-01 08:59:41 +02:00
a11y.h inspector: Show a11y information 2020-07-28 08:41:24 -04:00
a11y.ui inspector: Show a11y information 2020-07-28 08:41:24 -04:00
action-editor.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
action-editor.h Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
action-holder.c inspector: Make the actions tab work again 2020-07-20 08:24:54 -04:00
action-holder.h inspector: Make the actions tab work again 2020-07-20 08:24:54 -04:00
actions.c inspector: Avoid an uninitialized value 2020-07-28 05:34:12 +02:00
actions.h inspector: Clean up GtkInspectorActions 2020-07-17 23:59:49 -04:00
actions.ui inspector: Clean up GtkInspectorActions 2020-07-17 23:59:49 -04:00
actions.ui.h
baselineoverlay.c
baselineoverlay.h
cellrenderergraph.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
cellrenderergraph.h
controllers.c Merge branch 'drop-down-constructor' into 'master' 2020-07-26 23:57:48 +00:00
controllers.h
css-editor.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
css-editor.h
css-editor.ui
css-editor.ui.h
css-node-tree.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
css-node-tree.h
css-node-tree.ui
data-list.ui.h
focusoverlay.c
focusoverlay.h
fpsoverlay.c Rename gdk_surface_queue_expose 2020-07-29 22:40:01 -04:00
fpsoverlay.h
general.c gdk/toplevel: Negotiate surface size via a compute-size signal 2020-08-05 15:49:00 +02:00
general.h inspector: Clean up GtkInspectorGeneral 2020-07-18 00:31:04 -04:00
general.ui inspector: Fix the monitor list width 2020-07-03 01:07:13 -04:00
general.ui.h
graphdata.c
graphdata.h
gtktreemodelcssnode.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
gtktreemodelcssnode.h Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
highlightoverlay.c
highlightoverlay.h
init.c inspector: Show a11y information 2020-07-28 08:41:24 -04:00
init.h
inspect-button.c inspector: Make picking objects show them 2020-07-20 17:30:16 -04:00
inspector.css inspector: Fix property list styling 2020-07-07 11:21:42 -04:00
inspectoroverlay.c
inspectoroverlay.h
layoutoverlay.c Replace "gint" with "int" 2020-07-25 00:47:36 +02:00
layoutoverlay.h
list-data.c noselection: Make constructor transfer full 2020-07-26 18:04:40 -04:00
list-data.h inspector: proper list model support 2020-06-30 17:09:55 -04:00
list-data.ui inspector: proper list model support 2020-06-30 17:09:55 -04:00
logo.png
logs.c inspector: Support the a11y debug flag 2020-07-26 20:31:15 +01:00
logs.h inspector: Clean up GtkInspectorLogs 2020-07-17 23:24:14 -04:00
logs.ui inspector: Support the a11y debug flag 2020-07-26 20:31:15 +01:00
magnifier.c
magnifier.h
magnifier.ui
magnifier.ui.h
menu.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
menu.h
menu.ui
menu.ui.h
meson.build inspector: Show a11y information 2020-07-28 08:41:24 -04:00
misc-info.c Remove ATK 2020-07-26 20:31:14 +01:00
misc-info.h inspector: Clean up GtkInspectorMiscInfo 2020-07-18 00:25:46 -04:00
misc-info.ui Remove ATK 2020-07-26 20:31:14 +01:00
misc-info.ui.h
object-hierarchy.ui.h
object-tree.c singleselection: Make constructor transfer full 2020-07-26 18:04:40 -04:00
object-tree.h
object-tree.ui
object-tree.ui.h
object-tree.ui.u
prop-editor.c dropdown: Revise constructors 2020-07-26 18:09:54 -04:00
prop-editor.h Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
prop-holder.c
prop-holder.h
prop-list.c noselection: Make constructor transfer full 2020-07-26 18:04:40 -04:00
prop-list.h Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
prop-list.ui inspector: Fix property list styling 2020-07-07 11:21:42 -04:00
prop-list.ui.h
recorder.c singleselection: Make constructor transfer full 2020-07-26 18:04:40 -04:00
recorder.h inspector: Drop the recorder Private struct 2020-07-17 22:37:24 -04:00
recorder.ui inspector: Dispose the recorder properly 2020-07-17 22:54:10 -04:00
recording.c
recording.h
renderrecording.c
renderrecording.h
resource-holder.c
resource-holder.h
resource-list.c singleselection: Make constructor transfer full 2020-07-26 18:04:40 -04:00
resource-list.h inspector: Don't derive from GtkBox 2020-07-16 07:14:01 -04:00
resource-list.ui grid layout: Rename some properties 2020-08-02 17:58:03 -04:00
resource-list.ui.h
selector.ui.h
shortcuts.c inspector: Properly dispose GtkInspectorShortcuts 2020-07-17 23:13:29 -04:00
shortcuts.h
shortcuts.ui
signals-list.ui.h
size-groups.c dropdown: Revise constructors 2020-07-26 18:09:54 -04:00
size-groups.h
startrecording.c
startrecording.h
statistics.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
statistics.h
statistics.ui
statistics.ui.h
strv-editor.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
strv-editor.h Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
tree-data.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
tree-data.h inspector: Rename DataList -> TreeData 2020-06-30 15:18:37 -04:00
tree-data.ui inspector: Rename DataList -> TreeData 2020-06-30 15:18:37 -04:00
treewalk.c
treewalk.h
type-info.c Replace "gchar" with "char" 2020-07-25 00:47:36 +02:00
type-info.h
type-info.ui
updatesoverlay.c Rename gdk_surface_queue_expose 2020-07-29 22:40:01 -04:00
updatesoverlay.h
visual.c dropdown: Revise constructors 2020-07-26 18:09:54 -04:00
visual.h inspector: Clean up GtkInspectorVisual 2020-07-18 00:17:42 -04:00
visual.ui debug: Remove resize highlighting 2020-07-17 05:49:12 +02:00
visual.ui.h
window.c inspector: Avoid some failing casts 2020-08-01 08:59:46 +02:00
window.h inspector: Show a11y information 2020-07-28 08:41:24 -04:00
window.ui inspector: Show a11y information 2020-07-28 08:41:24 -04:00
window.ui.h