Attributes to use for a newly created window.
(cffi:defcstruct window-attr
(title :string)
(event-mask event-mask)
(x :int)
(y :int)
(width :int)
(height :int)
(wclass window-window-class)
(visual (g:object visual))
(window-type window-type)
(cursor (g:object cursor))
(wmclass-name :string)
(wmclass-class :string)
(override-redirect :boolean)
(type-hint window-type-hint))
- title
- A string with the title of the window for toplevel windows.
- event-mask
- a gdk:event-mask value, see the gdk:window-events function.
- x
- An integer with the x coordinate relative to parent window, see the gdk:window-move function.
- y
- An integer with the y coordinate relative to parent window, see the gdk:window-move function.
- width
- An integer with the width of the window.
- height
- An integer with the height of window.
- wclass
- A gdk:window-window-class value, :input-output for a normal window or :input-only for an invisible window that receives events.
- visual
- A gdk:visual object for the window.
- window-type
- A gdk:window-type value.
- cursor
- A gdk:cursor object for the window, see the gdk:window-cursor function.
- wmclass-name
- A string, do not use.
- wmclass-class
- A string, do not use.
- override-redirect
- True to bypass the window manager.
- type-hint
- A gdk:window-type-hint value of the function of the window.