Linux and UNIX Man Pages

Linux & Unix Commands - Search Man Pages

gtk2::gdk::visual(3pm) [debian man page]

Gtk2::Gdk::Visual(3pm)					User Contributed Perl Documentation				    Gtk2::Gdk::Visual(3pm)

NAME
Gtk2::Gdk::Visual - wrapper for GdkVisual HIERARCHY
Glib::Object +----Gtk2::Gdk::Visual METHODS
integer = Gtk2::Gdk::Visual->get_best_depth visual = Gtk2::Gdk::Visual->get_best visualtype = Gtk2::Gdk::Visual->get_best_type visual or undef = Gtk2::Gdk::Visual->get_best_with_both ($depth, $visual_type) o $depth (integer) o $visual_type (Gtk2::Gdk::VisualType) visual or undef = Gtk2::Gdk::Visual->get_best_with_depth ($depth) o $depth (integer) visual or undef = Gtk2::Gdk::Visual->get_best_with_type ($visual_type) o $visual_type (Gtk2::Gdk::VisualType) integer = $visual->bits_per_rgb integer = $visual->get_bits_per_rgb Since: gtk+ 2.22 unsigned = $visual->blue_mask (mask, shift, precision) = $visual->get_blue_pixel_details Since: gtk+ 2.22 integer = $visual->blue_prec integer = $visual->blue_shift byteorder = $visual->byte_order byteorder = $visual->get_byte_order Since: gtk+ 2.22 integer = $visual->colormap_size integer = $visual->get_colormap_size Since: gtk+ 2.22 integer = $visual->depth integer = $visual->get_depth Since: gtk+ 2.22 unsigned = $visual->green_mask (mask, shift, precision) = $visual->get_green_pixel_details Since: gtk+ 2.22 integer = $visual->green_prec integer = $visual->green_shift unsigned = $visual->red_mask (mask, shift, precision) = $visual->get_red_pixel_details Since: gtk+ 2.22 integer = $visual->red_prec integer = $visual->red_shift screen = $visual->get_screen Since: gtk+ 2.2 visual = Gtk2::Gdk::Visual->get_system visualtype = $visual->type visualtype = $visual->get_visual_type Since: gtk+ 2.22 ENUMS AND FLAGS
enum Gtk2::Gdk::ByteOrder o 'lsb-first' / 'GDK_LSB_FIRST' o 'msb-first' / 'GDK_MSB_FIRST' enum Gtk2::Gdk::VisualType o 'static-gray' / 'GDK_VISUAL_STATIC_GRAY' o 'grayscale' / 'GDK_VISUAL_GRAYSCALE' o 'static-color' / 'GDK_VISUAL_STATIC_COLOR' o 'pseudo-color' / 'GDK_VISUAL_PSEUDO_COLOR' o 'true-color' / 'GDK_VISUAL_TRUE_COLOR' o 'direct-color' / 'GDK_VISUAL_DIRECT_COLOR' SEE ALSO
Gtk2, Glib::Object COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.14.2 2012-05-27 Gtk2::Gdk::Visual(3pm)

Check Out this Related Man Page

Gtk2::Gdk::Colormap(3pm)				User Contributed Perl Documentation				  Gtk2::Gdk::Colormap(3pm)

NAME
Gtk2::Gdk::Colormap - wrapper for GdkColormap DESCRIPTION
Colormaps are used to store the mappings between the RGB values you ask for and the actual, hardware-dependent values used to display those colors. The "$colormap->alloc_color" and "$colormap->alloc_colors" methods do the necessary work to allocate a color within the visual; this actually has nothing to do with memory management, so it is important that you call "$colormap->free_colors" to release those spots in the colormap allocated by "alloc_color" and "alloc_colors". HIERARCHY
Glib::Object +----Gtk2::Gdk::Colormap METHODS
colormap = Gtk2::Gdk::Colormap->new ($visual, $allocate) o $visual (Gtk2::Gdk::Visual) o $allocate (boolean) boolean = $colormap->alloc_color ($color, $writable, $best_match) o $color (Gtk2::Gdk::Color) o $writable (boolean) o $best_match (boolean) list = $colormap->alloc_colors ($writable, $best_match, ...) o $writable (boolean) o $best_match (boolean) o ... (list) of Gtk2::Gdk::Color's to be allocated Returns a list of boolean values, telling whether the color at the corresponding spot in ... could be allocated. $colormap->free_colors (...) o ... (list) of Gtk2::Gdk::Color's to be freed color = $colormap->query_color ($pixel) o $pixel (unsigned) $colormap->rgb_find_color ($color) o $color (Gtk2::Gdk::Color) screen = $cmap->get_screen Since: gtk+ 2.2 colormap = Gtk2::Gdk::Colormap->get_system visual = $colormap->get_visual SEE ALSO
Gtk2, Glib::Object COPYRIGHT
Copyright (C) 2003-2011 by the gtk2-perl team. This software is licensed under the LGPL. See Gtk2 for a full notice. perl v5.14.2 2012-05-27 Gtk2::Gdk::Colormap(3pm)
Man Page