Skip site navigation (1)Skip section navigation (2)

FreeBSD Manual Pages

  
 
  

home | help
X11::Xlib::XVisualInfoUser Contributed Perl DocumentaX11::Xlib::XVisualInfo(3)

NAME
       X11::Xlib::XVisualInfo -	Struct to list details of a Visual*

SYNOPSIS
	 my $conn= X11::Xlib->new();
	 my @visuals= map { $_->unpack } $conn->XGetVisualInfo(0, my $foo);
	 use DDP;
	 p @visuals;

DESCRIPTION
       The real	"Visual" structure in Xlib is hidden from users, but various
       functions give you XVisualInfo to be able to inspect a Visual without
       making lots of method calls.

ATTRIBUTES
       (copied from Xlib docs)

	 typedef struct	{
	   Visual *visual;
	   VisualID visualid;
	   int screen;
	   unsigned int	depth;
	   int class;
	   unsigned long red_mask;
	   unsigned long green_mask;
	   unsigned long blue_mask;
	   int colormap_size;
	   int bits_per_rgb;
	 } XVisualInfo;

METHODS
       See parent class	X11::Xlib::Struct

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

       Michael Conrad, <mike@nrdvana.net>

COPYRIGHT AND LICENSE
       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.

perl v5.32.0			  2017-04-06	     X11::Xlib::XVisualInfo(3)

NAME | SYNOPSIS | DESCRIPTION | ATTRIBUTES | METHODS | AUTHOR | COPYRIGHT AND LICENSE

Want to link to this manual page? Use this URL:
<https://www.freebsd.org/cgi/man.cgi?query=X11::Xlib::XVisualInfo&sektion=3&manpath=FreeBSD+12.1-RELEASE+and+Ports>

home | help