Constructor
GimpUiScaleEntrynew
Declaration [src]
GtkWidget*
gimp_scale_entry_new (
const gchar* text,
gdouble value,
gdouble lower,
gdouble upper,
guint digits
)
Description [src]
This function creates a GtkLabel
, a GtkHScale
and a GtkSpinButton
and
attaches them to a 3-column GtkGrid
.
Parameters
text |
const gchar* |
The text for the |
|
The data is owned by the caller of the function. | |
The value is a NUL terminated UTF-8 string. | |
value |
gdouble |
The initial value. |
|
lower |
gdouble |
The lower boundary. |
|
upper |
gdouble |
The upper boundary. |
|
digits |
guint |
The number of decimal digits. |
Return value
Returns: | GtkWidget |
The new |
|
The caller of the function takes ownership of the data, and is responsible for freeing it. |