Gst.Structure.prototype.get_int
function get_int(fieldname:String):Boolean { // Gjs wrapper for gst_structure_get_int() }
Sets the int pointed to by value corresponding to the value of the given field. Caller is responsible for making sure the field exists and has the correct type.
- fieldname
the name of a field
- Returns
true if the value could be set correctly. If there was no field with fieldname or the existing field did not contain an int, this function returns false.