Re: setting sliders/spinbutton values

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,

On Mon, 2007-03-26 at 17:54 -0300, Luis A. Florit wrote:

> I made a plugin thas has some scales created by 'gimp_scale_entry_new'.
> Is there a way of changing the value of the sliders and spin buttons
> AFTER the dialog window is created according to the output of some
> fuction, say, by pressing a button in the dialog that calls this
> function?

The very same way you set the values before the dialog window is
created. You call gtk_adjustment_set_value() on the GtkAdjustment object
that is returned from gimp_scale_entry_new().


Sven


_______________________________________________
Gimp-developer mailing list
Gimp-developer@xxxxxxxxxxxxxxxxxxxxxx
https://lists.XCF.Berkeley.EDU/mailman/listinfo/gimp-developer

[Index of Archives]     [Video For Linux]     [Photo]     [Yosemite News]     [gtk]     [GIMP for Windows]     [KDE]     [GEGL]     [Gimp's Home]     [Gimp on GUI]     [Gimp on Windows]     [Steve's Art]

  Powered by Linux