GtkRange::get_adjustment
Returns the widget's adjustment child. The returned value should be assigned
by reference if you want method calls and other changes to be shown in the
adjustment's parent widget.
Example 33. Change the current value of an HScale <?php
// Create an hScale object
$hScale = &new GtkHScale(new GtkAdjustment(.5, 0, 1, .1, .1, .1));
// Get the adjustment from the hScale
$adj =& $hScale->get_adjustment();
// Set the value to zero
$adj->set_value(0);
?>
|
See also: set_adjustment()
|
Network sites:
|
|
Quotes: |
|
So different are the colours of life, as we look forward to the future, or backward to the past; and so different the opinions and sentiments which this contrariety of appearance naturally produces, that the conversation of the old and young ends generally with contempt or pity on either side.
|
|
|