pike.hubbe.net

[Top]
GTK
GTK.ColorSelection
previousGTK.ColorSelection()->set_color() GTK.ColorSelectionDialognext

Method GTK.ColorSelection()->set_update_policy()


Method set_update_policy

object(GTK.ColorSelection) GTK.ColorSelection()->set_update_policy(int policy)

Description

one of UPDATE_ALWAYS, UPDATE_CONTINUOUS, UPDATE_DELAYED, UPDATE_DISCONTINUOUS and UPDATE_IF_VALID.

The default policy is GTK.UpdateContinuous which means that the current color is updated continuously when the user drags the sliders or presses the mouse and drags in the hue-saturation wheel or value bar. If you experience performance problems, you may want to set the policy to GTK.UpdateDiscontinuous or GTK.UpdateDelayed.


Extracted from Pike v7.3 release 11 at 2001-11-03.