Constructor
WebKit2PrintCustomWidgetnew
Declaration [src]
WebKitPrintCustomWidget*
webkit_print_custom_widget_new (
GtkWidget* widget,
const char* title
)
Description [src]
Create a new WebKitPrintCustomWidget with given widget and title.
The widget
ownership is taken and it is destroyed together with the dialog even if this
object could still be alive at that point. You typically want to pass a container
widget with multiple widgets in it.
| Available since: | 2.16 |
Parameters
widget |
GtkWidget |
A |
|
| The data is owned by the caller of the function. | |
title |
const char* |
A |
|
| The data is owned by the caller of the function. | |
| The value is a NUL terminated UTF-8 string. |
Return value
| Returns: | WebKitPrintCustomWidget |
A new |
|
| The caller of the function takes ownership of the data, and is responsible for freeing it. |