1Gtk2::Gdk::Visual(3) User Contributed Perl Documentation Gtk2::Gdk::Visual(3)
2
3
4
6 Gtk2::Gdk::Visual - wrapper for GdkVisual
7
9 Glib::Object
10 +----Gtk2::Gdk::Visual
11
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 integer = $visual->get_bits_per_rgb
30 Since: gtk+ 2.22
31
32 unsigned = $visual->blue_mask
33 (mask, shift, precision) = $visual->get_blue_pixel_details
34 Since: gtk+ 2.22
35
36 integer = $visual->blue_prec
37 integer = $visual->blue_shift
38 byteorder = $visual->byte_order
39 byteorder = $visual->get_byte_order
40 Since: gtk+ 2.22
41
42 integer = $visual->colormap_size
43 integer = $visual->get_colormap_size
44 Since: gtk+ 2.22
45
46 integer = $visual->depth
47 integer = $visual->get_depth
48 Since: gtk+ 2.22
49
50 unsigned = $visual->green_mask
51 (mask, shift, precision) = $visual->get_green_pixel_details
52 Since: gtk+ 2.22
53
54 integer = $visual->green_prec
55 integer = $visual->green_shift
56 unsigned = $visual->red_mask
57 (mask, shift, precision) = $visual->get_red_pixel_details
58 Since: gtk+ 2.22
59
60 integer = $visual->red_prec
61 integer = $visual->red_shift
62 screen = $visual->get_screen
63 Since: gtk+ 2.2
64
65 visual = Gtk2::Gdk::Visual->get_system
66 visualtype = $visual->type
67 visualtype = $visual->get_visual_type
68 Since: gtk+ 2.22
69
71 enum Gtk2::Gdk::ByteOrder
72 • 'lsb-first' / 'GDK_LSB_FIRST'
73
74 • 'msb-first' / 'GDK_MSB_FIRST'
75
76 enum Gtk2::Gdk::VisualType
77 • 'static-gray' / 'GDK_VISUAL_STATIC_GRAY'
78
79 • 'grayscale' / 'GDK_VISUAL_GRAYSCALE'
80
81 • 'static-color' / 'GDK_VISUAL_STATIC_COLOR'
82
83 • 'pseudo-color' / 'GDK_VISUAL_PSEUDO_COLOR'
84
85 • 'true-color' / 'GDK_VISUAL_TRUE_COLOR'
86
87 • 'direct-color' / 'GDK_VISUAL_DIRECT_COLOR'
88
90 Gtk2, Glib::Object
91
93 Copyright (C) 2003-2011 by the gtk2-perl team.
94
95 This software is licensed under the LGPL. See Gtk2 for a full notice.
96
97
98
99perl v5.34.0 2022-01-21 Gtk2::Gdk::Visual(3)