mirror of
https://gitlab.gnome.org/GNOME/gtk.git
synced 2025-01-04 01:31:13 +00:00
docs: don't refer to TOPLEVEL flag
This commit is contained in:
parent
0d93930749
commit
b1c31af18f
@ -10770,8 +10770,8 @@ gtk_widget_add_device_events (GtkWidget *widget,
|
|||||||
* inside a #GtkSocket within the same application.
|
* inside a #GtkSocket within the same application.
|
||||||
*
|
*
|
||||||
* To reliably find the toplevel #GtkWindow, use
|
* To reliably find the toplevel #GtkWindow, use
|
||||||
* gtk_widget_get_toplevel() and check if the %TOPLEVEL flags
|
* gtk_widget_get_toplevel() and call gtk_widget_is_toplevel()
|
||||||
* is set on the result.
|
* on the result.
|
||||||
* |[
|
* |[
|
||||||
* GtkWidget *toplevel = gtk_widget_get_toplevel (widget);
|
* GtkWidget *toplevel = gtk_widget_get_toplevel (widget);
|
||||||
* if (gtk_widget_is_toplevel (toplevel))
|
* if (gtk_widget_is_toplevel (toplevel))
|
||||||
|
Loading…
Reference in New Issue
Block a user