WebKit2WebExtension.DOMDOMWindow.prompt

### Method

# WebKit2WebExtension DOMDOMWindowprompt

#### Declaration [src]

    gchar*
    webkit_dom_dom_window_prompt (
      WebKitDOMDOMWindow* self,
      const gchar* message,
      const gchar* defaultValue
    )

#### Description

No description available.

Available since: | 2.16
Deprecated since: | 2.22
Use JavaScriptCore API instead.

#### Parameters

`message` | `const gchar*`
| A #gchar.
| The data is owned by the caller of the function.
| The value is a NUL terminated UTF-8 string.
`defaultValue` | `const gchar*`
| A #gchar.
| The data is owned by the caller of the function.
| The value is a NUL terminated UTF-8 string.

#### Return value

Returns: | `gchar*`
| A #gchar.
| The caller of the method takes ownership of the data, and is responsible for freeing it.
| The value is a NUL terminated UTF-8 string.