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::XSizeHints(3) User Contributed Perl Documentation X11::Xlib::XSizeHints(3)

X11::Xlib::XSizeHints - Struct providing window size hints to the Window Manager

The fields of the struct are as follows (from X11 docs)

  long flags;         /* marks which fields in this structure are defined */
  int x, y;           /* obsolete for new window mgrs, but clients */
  int width, height;  /* should set so old wm's don't mess up */
  int min_width, min_height;
  int max_width, max_height;
  int width_inc, height_inc;
  struct {
      int x;  /* numerator */
      int y;  /* denominator */
  } min_aspect, max_aspect;
  int base_width, base_height;  /* added by ICCCM version 1 */
  int win_gravity;              /* added by ICCCM version 1 */

The accessor methods for "min_aspect" and "max_aspect" are a special case:

  ->min_aspect_x
  ->min_aspect_y
  ->max_aspect_x
  ->max_aspect_y

The values for "flags" are exported with

  use X11::Xlib ':const_sizehint';

and can be an ORed combination of:

  USPosition   /* user specified x, y */
  USSize       /* user specified width, height */
  PPosition    /* program specified position */
  PSize        /* program specified size */
  PMinSize     /* program specified minimum size */
  PMaxSize     /* program specified maximum size */
  PResizeInc   /* program specified resize increments */
  PAspect      /* program specified min and max aspect ratios */
  PBaseSize    /* program specified base for incrementing */
  PWinGravity  /* program specified window gravity */

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.