GSP
Quick Navigator

Search Site

Unix VPS
A - Starter
B - Basic
C - Preferred
D - Commercial
MPS - Dedicated
Previous VPSs
* Sign Up! *

Support
Contact Us
Online Help
Handbooks
Domain Status
Man Pages

FAQ
Virtual Servers
Pricing
Billing
Technical

Network
Facilities
Connectivity
Topology Map

Miscellaneous
Server Agreement
Year 2038
Credits
 

USA Flag

 

 

Man Pages
X11::Xlib::XSetWindowAttributes(3) User Contributed Perl Documentation X11::Xlib::XSetWindowAttributes(3)

X11::Xlib::XSetWindowAttributes - Struct defining window attributes

This struct contains various attributes of a window, to be applied with calls like XCreateWindow or XChangeWindowAttributes.

(copied from X11 docs)

  Pixmap background_pixmap;       /* background, None, or ParentRelative */
  unsigned long background_pixel; /* background pixel */
  Pixmap border_pixmap;           /* border of the window or CopyFromParent */
  unsigned long border_pixel;     /* border pixel value */
  int bit_gravity;                /* one of bit gravity values */
  int win_gravity;                /* one of the window gravity values */
  int backing_store;              /* NotUseful, WhenMapped, Always */
  unsigned long backing_planes;   /* planes to be preserved if possible */
  unsigned long backing_pixel;    /* value to use in restoring planes */
  Bool save_under;                /* should bits under be saved? (popups) */
  long event_mask;                /* set of events that should be saved */
  long do_not_propagate_mask;     /* set of events that should not propagate */
  Bool override_redirect;         /* boolean value for override_redirect */
  Colormap colormap;              /* color map to be associated with window */
  Cursor cursor;                  /* cursor to be displayed (or None) */

Several Xlib functions allow you to specify which fields are defined rather than forcing you to apply all attributes at once. The constants to indicate which fields are use can be exported with

  use X11::Xlib ':const_winattr';
  
  # CWBackPixel CWBackPixmap CWBackingPixel CWBackingPlanes CWBackingStore
  # CWBitGravity CWBorderPixel CWBorderPixmap CWColormap CWCursor
  # CWDontPropagate CWEventMask CWOverrideRedirect CWSaveUnder CWWinGravity

See parent class X11::Xlib::Struct

Olivier Thauvin, <nanardon@nanardon.zarb.org>

Michael Conrad, <mike@nrdvana.net>

Copyright (C) 2009-2010 by Olivier Thauvin

Copyright (C) 2017 by Michael Conrad

This library is free software; you can redistribute it and/or modify it under the same terms as Perl itself, either Perl version 5.10.0 or, at your option, any later version of Perl 5 you may have available.

2017-04-15 perl v5.32.1

Search for    or go to Top of page |  Section 3 |  Main Index

Powered by GSP Visit the GSP FreeBSD Man Page Interface.
Output converted with ManDoc.