Gtk2::SpinButton man page on OpenSuSE

Man page or keyword search:  
man Server   25941 pages
apropos Keyword Search (all sections)
Output format
OpenSuSE logo
[printable version]

Gtk2::SpinButton(3)   User Contributed Perl Documentation  Gtk2::SpinButton(3)

NAME
       Gtk2::SpinButton

HIERARCHY
	 Glib::Object
	 +----Glib::InitiallyUnowned
	      +----Gtk2::Object
		   +----Gtk2::Widget
			+----Gtk2::Entry
			     +----Gtk2::SpinButton

INTERFACES
	 Glib::Object::_Unregistered::AtkImplementorIface
	 Gtk2::Buildable
	 Gtk2::Editable
	 Gtk2::CellEditable

METHODS
   widget = Gtk2::SpinButton->new ($adjustment, $climb_rate, $digits)
       ·   $adjustment (Gtk2::Adjustment)

       ·   $climb_rate (double)

       ·   $digits (integer)

   widget = Gtk2::SpinButton->new_with_range ($min, $max, $step)
       ·   $min (double)

       ·   $max (double)

       ·   $step (double)

   adjustment = $spin_button->get_adjustment
   $spin_button->set_adjustment ($adjustment)
       ·   $adjustment (Gtk2::Adjustment)

   $spin_button->configure ($adjustment, $climb_rate, $digits)
       ·   $adjustment (Gtk2::Adjustment)

       ·   $climb_rate (double)

       ·   $digits (integer)

   integer = $spin_button->get_digits
   $spin_button->set_digits ($digits)
       ·   $digits (integer)

   (step, page) = $spin_button->get_increments
   $spin_button->set_increments ($step, $page)
       ·   $step (double)

       ·   $page (double)

   boolean = $spin_button->get_numeric
   $spin_button->set_numeric ($numeric)
       ·   $numeric (boolean)

   (min, max) = $spin_button->get_range
   $spin_button->set_range ($min, $max)
       ·   $min (double)

       ·   $max (double)

   boolean = $spin_button->get_snap_to_ticks
   $spin_button->set_snap_to_ticks ($snap_to_ticks)
       ·   $snap_to_ticks (boolean)

   $spin_button->spin ($direction, $increment)
       ·   $direction (Gtk2::SpinType)

       ·   $increment (double)

   $spin_button->update
   spinbuttonupdatepolicy = $spin_button->get_update_policy
   $spin_button->set_update_policy ($policy)
       ·   $policy (Gtk2::SpinButtonUpdatePolicy)

   integer = $spin_button->get_value_as_int
   double = $spin_button->get_value
   $spin_button->set_value ($value)
       ·   $value (double)

   boolean = $spin_button->get_wrap
   $spin_button->set_wrap ($wrap)
       ·   $wrap (boolean)

PROPERTIES
       'adjustment' (Gtk2::Adjustment : default undef : readable / writable /
       private)
	   The adjustment that holds the value of the spinbutton

       'climb-rate' (double : default 0 : readable / writable / private)
	   The acceleration rate when you hold down a button

       'digits' (Glib::UInt : default 0 : readable / writable / private)
	   The number of decimal places to display

       'numeric' (boolean : default false : readable / writable / private)
	   Whether non-numeric characters should be ignored

       'snap-to-ticks' (boolean : default false : readable / writable /
       private)
	   Whether erroneous values are automatically changed to a spin
	   button's nearest step increment

       'update-policy' (Gtk2::SpinButtonUpdatePolicy : default "always" :
       readable / writable / private)
	   Whether the spin button should update always, or only when the
	   value is legal

       'value' (double : default 0 : readable / writable / private)
	   Reads the current value, or sets a new value

       'wrap' (boolean : default false : readable / writable / private)
	   Whether a spin button should wrap upon reaching its limits

STYLE PROPERTIES
       'shadow-type' (Gtk2::ShadowType : default "in" : readable / private)
	   Style of bevel around the spin button

SIGNALS
       value-changed (Gtk2::SpinButton)
       change-value (Gtk2::SpinButton, Gtk2::ScrollType)
       integer = input (Gtk2::SpinButton, gpointer)
       boolean = output (Gtk2::SpinButton)
       wrapped (Gtk2::SpinButton)

ENUMS AND FLAGS
   enum Gtk2::ScrollType
       ·   'none' / 'GTK_SCROLL_NONE'

       ·   'jump' / 'GTK_SCROLL_JUMP'

       ·   'step-backward' / 'GTK_SCROLL_STEP_BACKWARD'

       ·   'step-forward' / 'GTK_SCROLL_STEP_FORWARD'

       ·   'page-backward' / 'GTK_SCROLL_PAGE_BACKWARD'

       ·   'page-forward' / 'GTK_SCROLL_PAGE_FORWARD'

       ·   'step-up' / 'GTK_SCROLL_STEP_UP'

       ·   'step-down' / 'GTK_SCROLL_STEP_DOWN'

       ·   'page-up' / 'GTK_SCROLL_PAGE_UP'

       ·   'page-down' / 'GTK_SCROLL_PAGE_DOWN'

       ·   'step-left' / 'GTK_SCROLL_STEP_LEFT'

       ·   'step-right' / 'GTK_SCROLL_STEP_RIGHT'

       ·   'page-left' / 'GTK_SCROLL_PAGE_LEFT'

       ·   'page-right' / 'GTK_SCROLL_PAGE_RIGHT'

       ·   'start' / 'GTK_SCROLL_START'

       ·   'end' / 'GTK_SCROLL_END'

   enum Gtk2::SpinButtonUpdatePolicy
       ·   'always' / 'GTK_UPDATE_ALWAYS'

       ·   'if-valid' / 'GTK_UPDATE_IF_VALID'

   enum Gtk2::SpinType
       ·   'step-forward' / 'GTK_SPIN_STEP_FORWARD'

       ·   'step-backward' / 'GTK_SPIN_STEP_BACKWARD'

       ·   'page-forward' / 'GTK_SPIN_PAGE_FORWARD'

       ·   'page-backward' / 'GTK_SPIN_PAGE_BACKWARD'

       ·   'home' / 'GTK_SPIN_HOME'

       ·   'end' / 'GTK_SPIN_END'

       ·   'user-defined' / 'GTK_SPIN_USER_DEFINED'

SEE ALSO
       Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget,
       Gtk2::Entry

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

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

perl v5.18.1			  2013-09-28		   Gtk2::SpinButton(3)
[top]

List of man pages available for OpenSuSE

Copyright (c) for man pages and the logo by the respective OS vendor.

For those who want to learn more, the polarhome community provides shell access and support.

[legal] [privacy] [GNU] [policy] [cookies] [netiquette] [sponsors] [FAQ]
Tweet
Polarhome, production since 1999.
Member of Polarhome portal.
Based on Fawad Halim's script.
....................................................................
Vote for polarhome
Free Shell Accounts :: the biggest list on the net