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

NAME

6       Gtk2::ScaleButton - wrapper for GtkScaleButton
7

HIERARCHY

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

INTERFACES

19         Glib::Object::_Unregistered::AtkImplementorIface
20         Gtk2::Buildable
21         Gtk2::Activatable
22         Gtk2::Orientable
23

METHODS

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

PROPERTIES

65       'adjustment' (Gtk2::Adjustment : default undef : readable / writable /
66       private / static-nick / static-blurb)
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       static-nick / static-blurb)
72           List of icon names
73
74       'size' (Gtk2::IconSize : default "small-toolbar" : readable / writable
75       / private / static-nick / static-blurb)
76           The icon size
77
78       'value' (double : default 0 : readable / writable / private / static-
79       nick / static-blurb)
80           The value of the scale
81

SIGNALS

83       popdown (Gtk2::ScaleButton)
84       popup (Gtk2::ScaleButton)
85       value-changed (Gtk2::ScaleButton, double)
86

ENUMS AND FLAGS

88   enum Gtk2::IconSize
89       •   'invalid' / 'GTK_ICON_SIZE_INVALID'
90
91       •   'menu' / 'GTK_ICON_SIZE_MENU'
92
93       •   'small-toolbar' / 'GTK_ICON_SIZE_SMALL_TOOLBAR'
94
95       •   'large-toolbar' / 'GTK_ICON_SIZE_LARGE_TOOLBAR'
96
97       •   'button' / 'GTK_ICON_SIZE_BUTTON'
98
99       •   'dnd' / 'GTK_ICON_SIZE_DND'
100
101       •   'dialog' / 'GTK_ICON_SIZE_DIALOG'
102
103   enum Gtk2::Orientation
104       •   'horizontal' / 'GTK_ORIENTATION_HORIZONTAL'
105
106       •   'vertical' / 'GTK_ORIENTATION_VERTICAL'
107

SEE ALSO

109       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
110       Gtk2::Container, Gtk2::Bin, Gtk2::Button
111
113       Copyright (C) 2003-2011 by the gtk2-perl team.
114
115       This software is licensed under the LGPL.  See Gtk2 for a full notice.
116
117
118
119perl v5.36.0                      2023-01-20              Gtk2::ScaleButton(3)
Impressum