Package: gdk

CStruct gdk-window-attr

Details

Attributes to use for a newly created window.
(defcstruct gdk-window-attr
  (title (:string :free-from-foreign nil))
  (event-mask gdk-event-mask)
  (x :int)
  (y :int)
  (width :int)
  (height :int)
  (wclass gdk-window-window-class)
  (visual (g-object gdk-visual))
  (window-type gdk-window-type)
  (cursor (g-object gdk-cursor))
  (wmclass-name (:string :free-from-foreign nil))
  (wmclass-class (:string :free-from-foreign nil))
  (override-redirect :boolean)
  (type-hint gdk-window-type-hint))  
title
A :string with the title of the window for toplevel windows.
event-mask
gdk-event-mask flags, see the function gdk-window-events.
x
A :int with the x coordinate relative to parent window, see the function gdk-window-move.
y
A :int with the y coordinate relative to parent window, see the function gdk-window-move.
width
A :int with the width of the window.
height
A :int with the height of window.
wclass
A value of the gdk-window-window-class enumeration, :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 value of the gdk-window-type enumeration.
cursor
A gdk-cusor object for the window, see the function gdk-window-cursor.
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 value of the gdk-window-type-hint enumeration of the function of the window.
 

Returned by

See also

2020-9-6