1Gtk2::Gdk::Visual(3) User Contributed Perl Documentation Gtk2::Gdk::Visual(3)
2
3
4
6 Gtk2::Gdk::Visual
7
9 Glib::Object
10 +----Gtk2::Gdk::Visual
11
13 integer = Gtk2::Gdk::Visual->get_best_depth
14
15 visual = Gtk2::Gdk::Visual->get_best
16
17 visualtype = Gtk2::Gdk::Visual->get_best_type
18
19 visual or undef = Gtk2::Gdk::Visual->get_best_with_both ($depth, $vis‐
20 ual_type)
21
22 * $depth (integer)
23 * $visual_type (Gtk2::Gdk::VisualType)
24
25 visual or undef = Gtk2::Gdk::Visual->get_best_with_depth ($depth)
26
27 * $depth (integer)
28
29 visual or undef = Gtk2::Gdk::Visual->get_best_with_type ($visual_type)
30
31 * $visual_type (Gtk2::Gdk::VisualType)
32
33 integer = $visual->bits_per_rgb
34
35 unsigned = $visual->blue_mask
36
37 integer = $visual->blue_prec
38
39 integer = $visual->blue_shift
40
41 byteorder = $visual->byte_order
42
43 integer = $visual->colormap_size
44
45 integer = $visual->depth
46
47 unsigned = $visual->green_mask
48
49 integer = $visual->green_prec
50
51 integer = $visual->green_shift
52
53 unsigned = $visual->red_mask
54
55 integer = $visual->red_prec
56
57 integer = $visual->red_shift
58
59 screen = $visual->get_screen
60
61 visual = Gtk2::Gdk::Visual->get_system
62
63 visualtype = $visual->type
64
66 enum Gtk2::Gdk::ByteOrder
67
68 * 'lsb-first' / 'GDK_LSB_FIRST'
69 * 'msb-first' / 'GDK_MSB_FIRST'
70
71 enum Gtk2::Gdk::VisualType
72
73 * 'static-gray' / 'GDK_VISUAL_STATIC_GRAY'
74 * 'grayscale' / 'GDK_VISUAL_GRAYSCALE'
75 * 'static-color' / 'GDK_VISUAL_STATIC_COLOR'
76 * 'pseudo-color' / 'GDK_VISUAL_PSEUDO_COLOR'
77 * 'true-color' / 'GDK_VISUAL_TRUE_COLOR'
78 * 'direct-color' / 'GDK_VISUAL_DIRECT_COLOR'
79
81 Gtk2, Glib::Object
82
84 Copyright (C) 2003-2007 by the gtk2-perl team.
85
86 This software is licensed under the LGPL. See Gtk2 for a full notice.
87
88
89
90perl v5.8.8 2007-03-18 Gtk2::Gdk::Visual(3)