Container")
  * [ GtkWidget ](class.Widget.html "Widget")
  * [ GInitiallyUnowned ](javascript:void\(0\))
  * [ GObject ](javascript:void\(0\))

####  Descendants

  * [ GtkApplicationWindow ](class.ApplicationWindow.html "ApplicationWindow")
  * [ GtkAssistant ](class.Assistant.html "Assistant")
  * [ GtkDialog ](class.Dialog.html "Dialog")
  * [ GtkOffscreenWindow ](class.OffscreenWindow.html "OffscreenWindow")
  * [ GtkPlug ](class.Plug.html "Plug")
  * [ GtkShortcutsWindow ](class.ShortcutsWindow.html "ShortcutsWindow")

####  Implements

  * [ AtkImplementorIface ](javascript:void\(0\))
  * [ GtkBuildable ](iface.Buildable.html "Buildable")

####  Constructors

######  [ gtk_window_new ](ctor.Window.new.html)

Creates a new ` GtkWindow ` , which is a toplevel window that can contain
other widgets. Nearly always, the type of the window should be
#GTK_WINDOW_TOPLEVEL. If you’re implementing something like a popup menu from
scratch (which is a bad idea, just use ` GtkMenu ` ), you might use
#GTK_WINDOW_POPUP. #GTK_WINDOW_POPUP is not for dialogs, though in some other
toolkits dialogs are called “popups”. In  GTK  +, #GTK_WINDOW_POPUP means a
pop-up menu or pop-up tooltip. On X11, popup windows are not controlled by the
[window manager][gtk-X11-arch].

####  Functions

######  [ gtk_window_get_default_icon_list
](type_func.Window.get_default_icon_list.html)

Gets the value set by gtk_window_set_default_icon_list(). The list is a copy
and should be freed with g_list_free(), but the pixbufs in the list have not
had their reference count incremented.

######  [ gtk_window_get_default_icon_name
](type_func.Window.get_default_icon_name.html)

Returns the fallback icon name for windows that has been set with
gtk_window_set_default_icon_name(). The returned string is owned by  GTK  \+
and should not be modified. It is only valid until the next call to
gtk_window_set_default_icon_name().

since: 2.16

######  [ gtk_window_list_toplevels ](type_func.Window.list_toplevels.html)

Returns a list of all existing toplevel windows. The widgets in the list are
not individually referenced. If you want to iterate through the list and
perform actions involving callbacks that might destroy the widgets, you must
call ` g_list_foreach (result, (GFunc)g_object_ref, NULL) ` first, and then
unref all the widgets afterwards.

######  [ gtk_window_set_auto_startup_notification
](type_func.Window.set_auto_startup_notification.html)

By default, after showing the first ` GtkWindow ` ,  GTK  \+ calls
gdk_notify_startup_complete(). Call this function to disable the automatic
startup notification. You might do this if your first window is a splash
screen, and you want to delay notification until after your real main window
has been shown, for example.

since: 2.2

######  [ gtk_window_set_default_icon
](type_func.Window.set_default_icon.html)

Sets an icon to be used as fallback for windows that haven’t had `
gtk_window_set_icon() ` called on them from a pixbuf.

since: 2.4

######  [ gtk_window_set_default_icon_from_file
](type_func.Window.set_default_icon_from_file.html)

Sets an icon to be used as fallback for windows that haven’t had `
gtk_window_set_icon_list() ` called on them from a file on disk. Warns on
failure if ` err ` is ` NULL ` .

since: 2.2

######  [ gtk_window_set_default_icon_list
](type_func.Window.set_default_icon_list.html)

Sets an icon list to be used as fallback for windows that haven’t had `
gtk_window_set_icon_list() ` called on them to set up a window-specific icon
list. This function allows you to set up the icon for all windows in your app
at once.

######  [ gtk_window_set_default_icon_name
](type_func.Window.set_default_icon_name.html)

Sets an icon to be used as fallback for windows that haven’t had `
gtk_window_set_icon_list() ` called on them from a named themed icon, see
gtk_window_set_icon_name().

since: 2.6

######  [ gtk_window_set_interactive_debugging
](type_func.Window.set_interactive_debugging.html)

Opens or clos