gtkBuilderValueFromString
This function demarshals a value from a string. This function
calls gValueInit()
on the value
argument, so it need not be
initialised beforehand.
gtkBuilderValueFromString(object, pspec, string, .errwarn = TRUE)
|
|
|
the |
|
the string representation of the value |
.errwarn |
Whether to issue a warning on error or fail silently |
This function can handle char, uchar, boolean, int, uint, long,
ulong, enum, flags, float, double, string, GdkColor
and
GtkAdjustment
type values. Support for GtkWidget
type values is
still to come.
Upon errors FALSE
will be returned and error
will be assigned a
GError
from the GTK_BUILDER_ERROR
domain.
Since 2.12
A list containing the following elements:
retval |
[logical] |
|
the |
|
return location for an error, or |
Derived by RGtkGen from GTK+ documentation
Please choose more modern alternatives, such as Google Chrome or Mozilla Firefox.