More updates

This commit is contained in:
Matthias Clasen 2020-02-10 08:13:23 -05:00
parent 1698369d52
commit d0f5ce41aa

35
NEWS
View File

@ -3,41 +3,42 @@ Overview of Changes in GTK 3.98.0
While this release gets significantly closer to what we aim for in GTK 4, While this release gets significantly closer to what we aim for in GTK 4,
there are still a few big items outstanding that we are currently working there are still a few big items outstanding that we are currently working
on. on:
- Animation API
- Row-recycling list and grid views
- Event controllers for keyboard shortcuts - Event controllers for keyboard shortcuts
- Movable popovers - Movable popovers
- Row-recycling list and grid views
- Revamped accessibility infrastructure - Revamped accessibility infrastructure
- Animation API
We will do further 3.9x snapshots as these land: We will do further 3.98.x snapshots as these land.
***************** *****************
* The DND refactoring has been completed. The GTK api for DND has been turned * The DND refactoring has been completed. The GTK API for DND has been turned
into event controllers: GtkDragSource and GtkDropTarget. Support for file into event controllers: GtkDragSource and GtkDropTarget. Support for file
transfers via file transfer portal has been added to both DND and the clipboard. transfers via file transfer portal has been added for both DND and the clipboard.
* Child surfaces have been removed. GDK only supports toplevel and popup surfaces * Child surfaces have been removed. GDK only supports toplevel and popup surfaces
now. The client-side window implementation has been removed too. On the GTK side, now. The client-side window implementation has been removed too. On the GTK side,
the GtkNative interface has been introduced for widgets that have their own the GtkNative interface has been introduced for widgets that have their own
surface. surface. This cleanup is not 100% complete yet.
* Global positions and related apis such as gdk_surface_move are no longer available. * Global positions and related apis such as gdk_surface_move are no longer available.
* A constraint-based layout manager has been added. * A constraint-based layout manager has been added.
* Many classes have been made explicitly non-subclassable, and the widget hierarchy has * Many classes have been made explicitly non-subclassable, and the widget hierarchy
been simplified, by making widgets derive directly from GtkWidget instead of a container. has been simplified, by making widgets derive directly from GtkWidget instead of
a container.
* Menu-related changes: * Menu-related changes:
- GtkMenu, GtkMenuBar and related classes have been removed. They are being replaced by - GtkMenu, GtkMenuBar and related classes have been removed. They are being replaced
GMenu and popover-based variants. Popover menus can now do traditional, nested menus, by GMenu and popover-based variants. Popover menus can now do traditional, nested
and model buttons show accelerators. menus, and model buttons show accelerators.
- Context menus are no longer created with ::populate-popup signals, but use menu - Context menus are no longer created with ::populate-popup signals, but use menu
models and actions. models and actions.
- There are apis to create actions at class_init time, like gtk_widget_class_install_action. - Widget actions can be created in class_init, with gtk_widget_class_install_action.
- GtkToolbar has been removed as well. - GtkToolbar has been removed as well.
* Text-related changed: * Text-related changed:
@ -62,11 +63,11 @@ Overview of Changes in GTK 3.98.0
- The xim input method has been removed - The xim input method has been removed
* Wayland-specific changes: * Wayland-specific changes:
- The loading of cursor themes has been improved to load cursors on demand, and - The loading of cursor themes has been improved to load cursors on demand,
no longer relies on libwayland-cursor. and no longer relies on libwayland-cursor.
* The GL renderer is now sharing icon and glyph caches for all surfaces, and * The GL renderer is now sharing icon and glyph caches for all surfaces,
has better support for blurring and shadow rendering. and has better support for blurring and shadow rendering.
* Performance-related changes: * Performance-related changes:
- GTK provides profiling information for Sysprof when launched with GTK_TRACE=1. - GTK provides profiling information for Sysprof when launched with GTK_TRACE=1.