diff options
author | Matthias Clasen <mclasen@redhat.com> | 2020-12-08 15:38:36 +0000 |
---|---|---|
committer | Matthias Clasen <mclasen@redhat.com> | 2020-12-08 15:38:36 +0000 |
commit | 1f141c19533f4b3f397c3959ade673ce243b6138 (patch) | |
tree | a789e257dfd8d6aed9ac0f6e7c6ba44ed2be3ec5 /docs/reference | |
parent | 1e14a91cb9307e039c7e2b5affb247f0f052272d (diff) | |
parent | 074b933ae4e866d092edd734fd43524e39033b5e (diff) | |
download | gtk+-1f141c19533f4b3f397c3959ade673ce243b6138.tar.gz |
Merge branch 'wip/surface-state-rework' into 'master'
Rework surface state and geometry computation
See merge request GNOME/gtk!2885
Diffstat (limited to 'docs/reference')
-rw-r--r-- | docs/reference/gdk/gdk4-sections.txt | 2 | ||||
-rw-r--r-- | docs/reference/gtk/gtk4-sections.txt | 5 | ||||
-rw-r--r-- | docs/reference/gtk/migrating-3to4.md | 9 |
3 files changed, 9 insertions, 7 deletions
diff --git a/docs/reference/gdk/gdk4-sections.txt b/docs/reference/gdk/gdk4-sections.txt index 1680e9e3e5..f2e6fa3f3a 100644 --- a/docs/reference/gdk/gdk4-sections.txt +++ b/docs/reference/gdk/gdk4-sections.txt @@ -203,7 +203,6 @@ gdk_surface_get_cursor gdk_surface_set_input_region gdk_surface_get_width gdk_surface_get_height -gdk_surface_set_shadow_width gdk_surface_get_device_position GdkModifierType GDK_MODIFIER_MASK @@ -529,7 +528,6 @@ GDK_IS_EVENT gdk_event_get_type gdk_event_sequence_get_type gdk_button_event_get_type -gdk_configure_event_get_type gdk_crossing_event_get_type gdk_delete_event_get_type gdk_dnd_event_get_type diff --git a/docs/reference/gtk/gtk4-sections.txt b/docs/reference/gtk/gtk4-sections.txt index c8e46d89a2..2bd4d33528 100644 --- a/docs/reference/gtk/gtk4-sections.txt +++ b/docs/reference/gtk/gtk4-sections.txt @@ -4592,6 +4592,7 @@ gtk_window_set_destroy_with_parent gtk_window_set_display gtk_window_is_active gtk_window_is_maximized +gtk_window_is_fullscreen gtk_window_get_toplevels gtk_window_list_toplevels gtk_window_get_focus @@ -4618,12 +4619,10 @@ gtk_window_get_default_size gtk_window_get_destroy_with_parent gtk_window_get_icon_name gtk_window_get_modal -gtk_window_get_size gtk_window_get_title gtk_window_get_transient_for gtk_window_get_group gtk_window_has_group -gtk_window_resize gtk_window_set_default_icon_name gtk_window_set_icon_name gtk_window_set_auto_startup_notification @@ -6116,6 +6115,7 @@ GtkPopover gtk_popover_new gtk_popover_popup gtk_popover_popdown +gtk_popover_present gtk_popover_set_child gtk_popover_get_child gtk_popover_set_pointing_to @@ -6973,7 +6973,6 @@ GtkNative gtk_native_get_for_surface gtk_native_get_surface gtk_native_get_renderer -gtk_native_check_resize gtk_native_get_surface_transform <SUBSECTION Private> diff --git a/docs/reference/gtk/migrating-3to4.md b/docs/reference/gtk/migrating-3to4.md index 8a4fc9f32e..c4024c9c2f 100644 --- a/docs/reference/gtk/migrating-3to4.md +++ b/docs/reference/gtk/migrating-3to4.md @@ -165,7 +165,7 @@ for this change. | ::key-release-event | #GtkEventControllerKey | | ::enter-notify-event | #GtkEventControllerMotion | | ::leave-notify-event | #GtkEventControllerMotion | -| ::configure-event | replaced by #GdkSurface::size-changed | +| ::configure-event | replaced by #GdkSurface::layout | | ::focus-in-event | #GtkEventControllerFocus | | ::focus-out-event | #GtkEventControllerFocus | | ::map-event | replaced by #GdkSurface:mapped | @@ -510,9 +510,14 @@ gtk_window_set_gravity(), gtk_window_move(), gtk_window_parse_geometry(), gtk_window_set_keep_above(), gtk_window_set_keep_below(), gtk_window_begin_resize_drag(), gtk_window_begin_move_drag(). Most likely, you should just stop using them. In some cases, you can -fall back to using the underlying #GdkToplevel APIS (for example, +fall back to using the underlying #GdkToplevel APIs (for example, gdk_toplevel_begin_resize()). +The APIs for controlling GtkWindow size have changed to be better aligned +with the way size changes are integrated in the frame cycle. gtk_window_resize() +and gtk_window_get_size() have been removed. Instead, use +gtk_window_set_default_size() and gtk_window_get_default_size(). + ### Adapt to GtkHeaderBar and GtkActionBar API changes The gtk_header_bar_set_show_close_button() function has been renamed to |