Gtk2::ScaleButton(3) User Contributed Perl Documentation Gtk2::ScaleButton(3)
NAME
Gtk2::ScaleButton
HIERARCHY
Glib::Object
+----Glib::InitiallyUnowned
+----Gtk2::Object
+----Gtk2::Widget
+----Gtk2::Container
+----Gtk2::Bin
+----Gtk2::Button
+----Gtk2::ScaleButton
INTERFACES
Glib::Object::_Unregistered::AtkImplementorIface
Gtk2::Buildable
Glib::Object::_Unregistered::GtkActivatable
Gtk2::Orientable
METHODS
widget = Gtk2::ScaleButton->new ($size, $min, $max, $step, ...)
o $size (Gtk2::IconSize)
o $min (double)
o $max (double)
o $step (double)
o ... (list)
adjustment = $button->get_adjustment
$button->set_adjustment ($adjustment)
o $adjustment (Gtk2::Adjustment)
$button->set_icons (...)
o ... (list)
widget = $button->get_minus_button
Since: gtk+ 2.14
orientation = $button->get_orientation
Since: gtk+ 2.14
$button->set_orientation ($orientation)
o $orientation (Gtk2::Orientation)
Since: gtk+ 2.14
widget = $button->get_plus_button
Since: gtk+ 2.14
widget = $button->get_popup
Since: gtk+ 2.14
double = $button->get_value
$button->set_value ($value)
o $value (double)
PROPERTIES
'adjustment' (Gtk2::Adjustment : readable / writable / private)
The GtkAdjustment that contains the current value of this scale button object
'icons' (Glib::Strv : readable / writable / private)
List of icon names
'size' (Gtk2::IconSize : readable / writable / private)
The icon size
'value' (double : readable / writable / private)
The value of the scale
SIGNALS
value-changed (Gtk2::ScaleButton, double)
popup (Gtk2::ScaleButton)
popdown (Gtk2::ScaleButton)
ENUMS AND FLAGS
enum Gtk2::IconSize
o 'invalid' / 'GTK_ICON_SIZE_INVALID'
o 'menu' / 'GTK_ICON_SIZE_MENU'
o 'small-toolbar' / 'GTK_ICON_SIZE_SMALL_TOOLBAR'
o 'large-toolbar' / 'GTK_ICON_SIZE_LARGE_TOOLBAR'
o 'button' / 'GTK_ICON_SIZE_BUTTON'
o 'dnd' / 'GTK_ICON_SIZE_DND'
o 'dialog' / 'GTK_ICON_SIZE_DIALOG'
enum Gtk2::Orientation
o 'horizontal' / 'GTK_ORIENTATION_HORIZONTAL'
o 'vertical' / 'GTK_ORIENTATION_VERTICAL'
SEE ALSO
Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Button
COPYRIGHT
Copyright (C) 2003-2008 by the gtk2-perl team.
This software is licensed under the LGPL. See Gtk2 for a full notice.
perl v5.12.1 2010-07-05 Gtk2::ScaleButton(3)