Struct

GdkWindowAttr

Description [src]

struct GdkWindowAttr {
  gchar* title;
  gint event_mask;
  gint x;
  gint y;
  gint width;
  gint height;
  GdkWindowWindowClass wclass;
  GdkVisual* visual;
  GdkWindowType window_type;
  GdkCursor* cursor;
  gchar* wmclass_name;
  gchar* wmclass_class;
  gboolean override_redirect;
  GdkWindowTypeHint type_hint;
}

Attributes to use for a newly-created window.

Structure members
title

Title of the window (for toplevel windows)

event_mask

Event mask (see gdk_window_set_events())

x

X coordinate relative to parent window (see gdk_window_move())

y

Y coordinate relative to parent window (see gdk_window_move())

width

Width of window.

height

Height of window.

wclass

GDK_INPUT_OUTPUT (normal window) or #GDK_INPUT_ONLY (invisible

window that receives events)

visual

GdkVisual for window.

window_type

Type of window.

cursor

Cursor for the window (see gdk_window_set_cursor())

wmclass_name

Don’t use (see gtk_window_set_wmclass())

wmclass_class

Don’t use (see gtk_window_set_wmclass())

override_redirect

TRUE to bypass the window manager.

type_hint

A hint of the function of the window.