Next:
Gtk2::Alignment
Previous:
Gtk2::ActionGroup
 [Gtk2-Perl - Table of Contents][Gtk2-Perl - Index]

Gtk2::Adjustment



NAME

Gtk2::Adjustment

HIERARCHY

  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Adjustment

METHODS

object = Gtk2::Adjustment->new ($value, $lower, $upper, $step_increment, $page_increment, $page_size)

$adjustment->changed

$adjustment->clamp_page ($lower, $upper)

double = $adjustment->value

double = $adjustment->value ($newval)

double = $adjustment->lower

double = $adjustment->lower ($newval)

double = $adjustment->upper

double = $adjustment->upper ($newval)

double = $adjustment->step_increment

double = $adjustment->step_increment ($newval)

double = $adjustment->page_increment

double = $adjustment->page_increment ($newval)

double = $adjustment->page_size

double = $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_changed

double = $adjustment->get_value

$adjustment->set_value ($value)

PROPERTIES

'lower' (double : readable / writable / private)
The minimum value of the adjustment
'page-increment' (double : readable / writable / private)
The page increment of the adjustment
'page-size' (double : readable / writable / private)
The page size of the adjustment
'step-increment' (double : readable / writable / private)
The step increment of the adjustment
'upper' (double : readable / writable / private)
The maximum value of the adjustment
'value' (double : readable / writable / private)
The value of the adjustment

SIGNALS

value-changed (Gtk2::Adjustment)
changed (Gtk2::Adjustment)

SEE ALSO

Gtk2, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object

COPYRIGHT

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

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


[Top] Generated by Marek::Pod::HTML 0.49 on Wed Dec 16 23:00:25 2009