Window.this

Creates a new #GdkWindow using the attributes from @attributes. See #GdkWindowAttr and #GdkWindowAttributesType for more details. Note: to use this on displays other than the default display, @parent must be specified.

  1. this(GdkWindow* gdkWindow, bool ownedRef)
  2. this(Window parent, GdkWindowAttr* attributes, int attributesMask)

Parameters

parent Window

a #GdkWindow, or %NULL to create the window as a child of the default root window for the default display.

attributes GdkWindowAttr*

attributes of the new window

attributesMask int

mask indicating which fields in @attributes are valid

Return Value

the new #GdkWindow

Throws

ConstructionException GTK+ fails to create the object.

Meta