1Gtk2::ScaleButton(3) User Contributed Perl Documentation Gtk2::ScaleButton(3)
2
3
4
6 Gtk2::ScaleButton - wrapper for GtkScaleButton
7
9 Glib::Object
10 +----Glib::InitiallyUnowned
11 +----Gtk2::Object
12 +----Gtk2::Widget
13 +----Gtk2::Container
14 +----Gtk2::Bin
15 +----Gtk2::Button
16 +----Gtk2::ScaleButton
17
19 Glib::Object::_Unregistered::AtkImplementorIface
20 Gtk2::Buildable
21 Gtk2::Activatable
22 Gtk2::Orientable
23
25 widget = Gtk2::ScaleButton->new ($size, $min, $max, $step, ...)
26 · $size (Gtk2::IconSize)
27
28 · $min (double)
29
30 · $max (double)
31
32 · $step (double)
33
34 · ... (list)
35
36 adjustment = $button->get_adjustment
37 $button->set_adjustment ($adjustment)
38 · $adjustment (Gtk2::Adjustment)
39
40 $button->set_icons (...)
41 · ... (list)
42
43 widget = $button->get_minus_button
44 Since: gtk+ 2.14
45
46 orientation = $button->get_orientation
47 Since: gtk+ 2.14
48
49 $button->set_orientation ($orientation)
50 · $orientation (Gtk2::Orientation)
51
52 Since: gtk+ 2.14
53
54 widget = $button->get_plus_button
55 Since: gtk+ 2.14
56
57 widget = $button->get_popup
58 Since: gtk+ 2.14
59
60 double = $button->get_value
61 $button->set_value ($value)
62 · $value (double)
63
65 'adjustment' (Gtk2::Adjustment : default undef : readable / writable /
66 private)
67 The GtkAdjustment that contains the current value of this scale
68 button object
69
70 'icons' (Glib::Strv : default undef : readable / writable / private)
71 List of icon names
72
73 'size' (Gtk2::IconSize : default "small-toolbar" : readable / writable
74 / private)
75 The icon size
76
77 'value' (double : default 0 : readable / writable / private)
78 The value of the scale
79
81 popdown (Gtk2::ScaleButton)
82 popup (Gtk2::ScaleButton)
83 value-changed (Gtk2::ScaleButton, double)
84
86 enum Gtk2::IconSize
87 · 'invalid' / 'GTK_ICON_SIZE_INVALID'
88
89 · 'menu' / 'GTK_ICON_SIZE_MENU'
90
91 · 'small-toolbar' / 'GTK_ICON_SIZE_SMALL_TOOLBAR'
92
93 · 'large-toolbar' / 'GTK_ICON_SIZE_LARGE_TOOLBAR'
94
95 · 'button' / 'GTK_ICON_SIZE_BUTTON'
96
97 · 'dnd' / 'GTK_ICON_SIZE_DND'
98
99 · 'dialog' / 'GTK_ICON_SIZE_DIALOG'
100
101 enum Gtk2::Orientation
102 · 'horizontal' / 'GTK_ORIENTATION_HORIZONTAL'
103
104 · 'vertical' / 'GTK_ORIENTATION_VERTICAL'
105
107 Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
108 Gtk2::Container, Gtk2::Bin, Gtk2::Button
109
111 Copyright (C) 2003-2011 by the gtk2-perl team.
112
113 This software is licensed under the LGPL. See Gtk2 for a full notice.
114
115
116
117perl v5.30.1 2020-01-30 Gtk2::ScaleButton(3)