1Gtk2::Gdk::Visual(3)  User Contributed Perl Documentation Gtk2::Gdk::Visual(3)
2
3
4

NAME

6       Gtk2::Gdk::Visual
7

HIERARCHY

9         Glib::Object
10         +----Gtk2::Gdk::Visual
11

METHODS

13   integer = Gtk2::Gdk::Visual->get_best_depth
14   visual = Gtk2::Gdk::Visual->get_best
15   visualtype = Gtk2::Gdk::Visual->get_best_type
16   visual or undef = Gtk2::Gdk::Visual->get_best_with_both ($depth,
17       $visual_type)
18           ·   $depth (integer)
19
20           ·   $visual_type (Gtk2::Gdk::VisualType)
21
22   visual or undef = Gtk2::Gdk::Visual->get_best_with_depth ($depth)
23           ·   $depth (integer)
24
25   visual or undef = Gtk2::Gdk::Visual->get_best_with_type ($visual_type)
26           ·   $visual_type (Gtk2::Gdk::VisualType)
27
28   integer = $visual->bits_per_rgb
29   unsigned = $visual->blue_mask
30   integer = $visual->blue_prec
31   integer = $visual->blue_shift
32   byteorder = $visual->byte_order
33   integer = $visual->colormap_size
34   integer = $visual->depth
35   unsigned = $visual->green_mask
36   integer = $visual->green_prec
37   integer = $visual->green_shift
38   unsigned = $visual->red_mask
39   integer = $visual->red_prec
40   integer = $visual->red_shift
41   screen = $visual->get_screen
42           Since: gtk+ 2.2
43
44   visual = Gtk2::Gdk::Visual->get_system
45   visualtype = $visual->type

ENUMS AND FLAGS

47   enum Gtk2::Gdk::ByteOrder
48       ·   'lsb-first' / 'GDK_LSB_FIRST'
49
50       ·   'msb-first' / 'GDK_MSB_FIRST'
51
52   enum Gtk2::Gdk::VisualType
53       ·   'static-gray' / 'GDK_VISUAL_STATIC_GRAY'
54
55       ·   'grayscale' / 'GDK_VISUAL_GRAYSCALE'
56
57       ·   'static-color' / 'GDK_VISUAL_STATIC_COLOR'
58
59       ·   'pseudo-color' / 'GDK_VISUAL_PSEUDO_COLOR'
60
61       ·   'true-color' / 'GDK_VISUAL_TRUE_COLOR'
62
63       ·   'direct-color' / 'GDK_VISUAL_DIRECT_COLOR'
64

SEE ALSO

66       Gtk2, Glib::Object
67
69       Copyright (C) 2003-2008 by the gtk2-perl team.
70
71       This software is licensed under the LGPL.  See Gtk2 for a full notice.
72
73
74
75perl v5.12.0                      2010-05-02              Gtk2::Gdk::Visual(3)
Impressum