Access: Read Only
Type: GdkWindow

Returns the parent GdkWindow.

The highest window in the packing hierarchy will return itself as the parent. Note that even the GdkWindow of a GtkWindow has a parent.

$gtk_window =& new GtkWindow();
$gdk_window = $gtk_window->window;
var_dump( $gdk_window == $gdk_window->parent);

The example output is false.

© Copyright 2003-2023 The ultimate PHP Editor and PHP IDE site.