DataHandler.getSaneInitValue
gobject.value.Value getSaneInitValue(gobject.types.GType type)Creates a new GValue which holds a sane initial value to be used if no value is specifically provided. For example for a simple string, this would return a new value containing the "" string.
Parameters
type | a #GType |
Returns
the new #GValue, or null if no such value can be created.