| 92 * @return A GtkWidget corresponding to the GtkWebView object |
92 * @return A GtkWidget corresponding to the GtkWebView object |
| 93 */ |
93 */ |
| 94 GtkWidget *gtk_webview_new(void); |
94 GtkWidget *gtk_webview_new(void); |
| 95 |
95 |
| 96 /** |
96 /** |
| 97 * TODO WEBKIT: Right now this just tests whether an append has been called |
|
| 98 * since the last clear or since the Widget was created. So it does not |
|
| 99 * test for load_string's called in between. |
|
| 100 * |
|
| 101 * @param webview The GtkWebView object |
|
| 102 * |
|
| 103 * @return gboolean indicating whether the webview is empty |
|
| 104 */ |
|
| 105 gboolean gtk_webview_is_empty(GtkWebView *webview); |
|
| 106 |
|
| 107 /** |
|
| 108 * A very basic routine to append html, which can be considered |
97 * A very basic routine to append html, which can be considered |
| 109 * equivalent to a "document.write" using JavaScript. |
98 * equivalent to a "document.write" using JavaScript. |
| 110 * |
99 * |
| 111 * @param webview The GtkWebView object |
100 * @param webview The GtkWebView object |
| 112 * @param markup The html markup to append |
101 * @param markup The html markup to append |