GtkAdjustment

GtkAdjustment

Represents an adjustable bounded value.

Object Hierarchy

GtkObject
`-- GtkData
       `-- GtkAdjustment

Direct subclasses

None.

Description

Any widget with a moving part has a GtkAdjustment at work behind it somewhere. The adjustment object is used to limit the range of values used by that moving part and also, in some widgets, to determine the size of the steps by which the value may be increased or decreased.

Constructor

GtkAdjustment (double value, double lower, double upper, double step_increment, double page_increment, double page_size);
-- Creates the basis for an adjustable widget.

Methods

changed()
  Emits "changed" signal.
value_changed()
  Emits "value-changed" signal.
clamp_page()
  Prevents bounds being exceeded.
set_value()
  Sets adjustment value.

Signals

"changed"
  Emitted when a property other than value changes.
"value-changed"
  Emitted when the value of any property is changed.

Properties

value:
  Current value.
lower:
  Lower bound.
upper:
  Upper bound.
step_increment:
  Smaller incremental step value.
page_increment:
  Larger incremental step value.
page_size:
  Displayed area.

© Copyright 2003-2023 www.php-editors.com. The ultimate PHP Editor and PHP IDE site.