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

NAME

6       Gtk2::HSV - wrapper for GtkHSV
7

HIERARCHY

9         Glib::Object
10         +----Glib::InitiallyUnowned
11              +----Gtk2::Object
12                   +----Gtk2::Widget
13                        +----Gtk2::HSV
14

INTERFACES

16         Glib::Object::_Unregistered::AtkImplementorIface
17         Gtk2::Buildable
18

METHODS

20   widget = Gtk2::HSV->new
21   (h, s, v) = $hsv->get_color
22   $hsv->set_color ($h, $s, $v)
23       •   $h (double)
24
25       •   $s (double)
26
27       •   $v (double)
28
29   (r, g, b) = Gtk2::hsv_to_rgb ($h, $s, $v)
30       •   $h (double)
31
32       •   $s (double)
33
34       •   $v (double)
35
36   boolean = $hsv->is_adjusting
37   (size, ring_width) = $hsv->get_metrics
38   $hsv->set_metrics ($size, $ring_width)
39       •   $size (integer)
40
41       •   $ring_width (integer)
42
43   (h, s, v) = Gtk2::rgb_to_hsv ($r, $g, $b)
44       •   $r (double)
45
46       •   $g (double)
47
48       •   $b (double)
49

SIGNALS

51       changed (Gtk2::HSV)
52       move (Gtk2::HSV, Gtk2::DirectionType)
53

ENUMS AND FLAGS

55   enum Gtk2::DirectionType
56       •   'tab-forward' / 'GTK_DIR_TAB_FORWARD'
57
58       •   'tab-backward' / 'GTK_DIR_TAB_BACKWARD'
59
60       •   'up' / 'GTK_DIR_UP'
61
62       •   'down' / 'GTK_DIR_DOWN'
63
64       •   'left' / 'GTK_DIR_LEFT'
65
66       •   'right' / 'GTK_DIR_RIGHT'
67

SEE ALSO

69       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget
70
72       Copyright (C) 2003-2011 by the gtk2-perl team.
73
74       This software is licensed under the LGPL.  See Gtk2 for a full notice.
75
76
77
78perl v5.34.0                      2022-01-21                      Gtk2::HSV(3)
Impressum