DOKK / manpages / debian 10 / libgtk2-perl-doc / Gtk2::ScaleButton.3pm.en
Gtk2::ScaleButton(3pm) User Contributed Perl Documentation Gtk2::ScaleButton(3pm)

Gtk2::ScaleButton - wrapper for GtkScaleButton

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::Bin
                           +----Gtk2::Button
                                +----Gtk2::ScaleButton

  Glib::Object::_Unregistered::AtkImplementorIface
  Gtk2::Buildable
  Gtk2::Activatable
  Gtk2::Orientable

  • $size (Gtk2::IconSize)
  • $min (double)
  • $max (double)
  • $step (double)
  • ... (list)

$button->set_adjustment ($adjustment)

$adjustment (Gtk2::Adjustment)

$button->set_icons (...)

... (list)

widget = $button->get_minus_button

Since: gtk+ 2.14

Since: gtk+ 2.14

$button->set_orientation ($orientation)

$orientation (Gtk2::Orientation)

Since: gtk+ 2.14

widget = $button->get_plus_button

Since: gtk+ 2.14

widget = $button->get_popup

Since: gtk+ 2.14

$button->set_value ($value)

$value (double)

'adjustment' (Gtk2::Adjustment : default undef : readable / writable / private)
The GtkAdjustment that contains the current value of this scale button object
'icons' (Glib::Strv : default undef : readable / writable / private)
List of icon names
'size' (Gtk2::IconSize : default "small-toolbar" : readable / writable / private)
The icon size
'value' (double : default 0 : readable / writable / private)
The value of the scale

  • 'invalid' / 'GTK_ICON_SIZE_INVALID'
  • 'menu' / 'GTK_ICON_SIZE_MENU'
  • 'small-toolbar' / 'GTK_ICON_SIZE_SMALL_TOOLBAR'
  • 'large-toolbar' / 'GTK_ICON_SIZE_LARGE_TOOLBAR'
  • 'button' / 'GTK_ICON_SIZE_BUTTON'
  • 'dnd' / 'GTK_ICON_SIZE_DND'
  • 'dialog' / 'GTK_ICON_SIZE_DIALOG'

  • 'horizontal' / 'GTK_ORIENTATION_HORIZONTAL'
  • 'vertical' / 'GTK_ORIENTATION_VERTICAL'

Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container, Gtk2::Bin, Gtk2::Button

Copyright (C) 2003-2011 by the gtk2-perl team.

This software is licensed under the LGPL. See Gtk2 for a full notice.

2017-06-24 perl v5.24.1