|
NAMEGtk2::Adjustment - wrapper for GtkAdjustmentHIERARCHYGlib::Object +----Glib::InitiallyUnowned +----Gtk2::Object +----Gtk2::Adjustment METHODSobject = Gtk2::Adjustment->new ($value, $lower, $upper, $step_increment, $page_increment, $page_size)
$adjustment->changed$adjustment->clamp_page ($lower, $upper)
$adjustment->configure ($value, $lower, $upper, $step_increment, $page_increment, $page_size)
Since: gtk+ 2.14 $adjustment->set_lower ($newval)$adjustment->set_page_increment ($newval)$adjustment->set_page_size ($newval)$adjustment->set_step_increment ($newval)$adjustment->set_upper ($newval)
These functions differ from the plain "->lower" etc setters in that they emit "notify" and "changed" signals if $newval is different from the current value. The corresponding "get_lower" etc are not wrapped because they're the same as the "lower" etc field accessors above. Since: gtk+ 2.14 double = $adjustment->valuedouble = $adjustment->value ($newval)double = $adjustment->lowerdouble = $adjustment->lower ($newval)double = $adjustment->upperdouble = $adjustment->upper ($newval)double = $adjustment->step_incrementdouble = $adjustment->step_increment ($newval)double = $adjustment->page_incrementdouble = $adjustment->page_increment ($newval)double = $adjustment->page_sizedouble = $adjustment->page_size ($newval)
Get or set the six fields of a Gtk2::Adjustment. The setter functions store $newval and return the old value. Note that they don't emit any signals; it's up to you to emit "notify" (because the fields are also properties) and "changed" or "value-changed", when you're ready. $adjustment->value_changeddouble = $adjustment->get_value$adjustment->set_value ($value)
PROPERTIES
SIGNALS
SEE ALSOGtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::ObjectCOPYRIGHTCopyright (C) 2003-2011 by the gtk2-perl team.This software is licensed under the LGPL. See Gtk2 for a full notice.
Visit the GSP FreeBSD Man Page Interface. |