Constructor
PurpleRequestFieldStringnew
since: 2.0
Declaration [src]
PurpleRequestField*
purple_request_field_string_new (
  const char* id,
  const char* text,
  const char* default_value,
  gboolean multiline
)
      Parameters
id- 
            
Type:
const char*The field ID.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.  text- 
            
Type:
const char*The text label of the field.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.  default_value- 
            
Type:
const char*The optional default value.
The data is owned by the caller of the function. The value is a NUL terminated UTF-8 string.  multiline- 
            
Type:
gbooleanWhether or not this should be a multiline string.
 
Return value
Type: PurpleRequestFieldString
The new field.
| The caller of the function takes ownership of the data, and is responsible for freeing it. |