[Top]
GTK
GTK.Dial
|
Method GTK.Dial()->set_adjustment()
- Method
set_adjustment
GTK.Dial set_adjustment(GTK.Adjustment pos)
- Description
set_adjustment() does absolutely nothing if you pass it the
adjustment that range is already using, regardless of whether you
changed any of its fields or not. If you pass it a new Adjustment,
it will unreference the old one if it exists (possibly destroying
it), connect the appropriate signals to the new one, and call the
private function gtk_range_adjustment_changed(), which will (or at
least, is supposed to...) recalculate the size and/or position of
the slider and redraw if necessary.
|