prop_spin_scale_new


Description:

[ CCode ( cname = "gimp_prop_spin_scale_new" ) ]
[ Version ( since = "3.0" ) ]
public Widget prop_spin_scale_new (Object config, string property_name, double step_increment, double page_increment, int digits)

Creates a spin scale to set and display the value of the specified int or double property.

By default, the property_name's nick will be used as label of the returned widget. Use set_label to change this.

If you wish to change the widget's range relatively to the property_name's range, use prop_widget_set_factor.

Parameters:

config

Object to which property is attached.

property_name

Name of double or int property controlled by the spin button.

step_increment

Step size.

page_increment

Page size.

digits

Number of digits after decimal point to display. This is only used for double properties. In case of int properties, `digits = 0` is implied.

Returns:

A new libgimpwidgetss-gimpspinbutton.


Namespace: GimpUi
Package: gimp-ui-3.0