Constructor
GdkWindownew
Declaration [src]
GdkWindow*
gdk_window_new (
GdkWindow* parent,
GdkWindowAttr* attributes,
gint attributes_mask
)
Description [src]
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.
Parameters
parent-
Type:
GdkWindowA
GdkWindow, orNULLto create the window as a child of the default root window for the default display.The argument can be NULL.The data is owned by the caller of the function. attributes-
Type:
GdkWindowAttrAttributes of the new window.
The data is owned by the caller of the function. attributes_mask-
Type:
GdkWindowAttributesTypeMask indicating which fields in
attributesare valid.
Return value
Type: GdkWindow
The new GdkWindow.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |