Gdk.WindowAttr

Fields

Name

Type

Access

Description

cursor

Gdk.Cursor

r/w

cursor for the window (see Gdk.Window.set_cursor())

event_mask

int

r/w

event mask (see Gdk.Window.set_events())

height

int

r/w

height of window

override_redirect

bool

r/w

True to bypass the window manager

title

str

r/w

title of the window (for toplevel windows)

type_hint

Gdk.WindowTypeHint

r/w

a hint of the function of the window

visual

Gdk.Visual

r/w

Gdk.Visual for window

wclass

Gdk.WindowWindowClass

r/w

Gdk.WindowWindowClass.INPUT_OUTPUT (normal window) or Gdk.WindowWindowClass.INPUT_ONLY (invisible window that receives events)

width

int

r/w

width of window

window_type

Gdk.WindowType

r/w

type of window

wmclass_class

str

r/w

don’t use (see gtk_window_set_wmclass())

wmclass_name

str

r/w

don’t use (see gtk_window_set_wmclass())

x

int

r/w

X coordinate relative to parent window (see Gdk.Window.move())

y

int

r/w

Y coordinate relative to parent window (see Gdk.Window.move())

Methods

None

Details

class Gdk.WindowAttr

Attributes to use for a newly-created window.