docs: Mention GdkSurface:mapped

It replaces the ::map-event and ::unmap-event signals on GtkWidget.
This commit is contained in:
Emmanuele Bassi 2021-06-09 18:08:31 +01:00
parent 078ada75d4
commit 17373c3e77

View File

@ -197,6 +197,9 @@ on a one-by-one basis:
- If you were using `::delete-event` to present a confirmation when using - If you were using `::delete-event` to present a confirmation when using
the close button of a window, you should use the the close button of a window, you should use the
[signal@Gtk.Window::close-request] signal. [signal@Gtk.Window::close-request] signal.
- If you were using `::map-event` and `::unmap-event` to track a window
being mapped, you should use property notification for the
[property@Gdk.Surface:mapped] property instead.
### Set a proper application ID ### Set a proper application ID