pidgin/gtkwebview.h

changeset 35129
22dca763eeef
parent 34276
2b602f67f875
child 35393
00f876b129bc
child 37017
8e2b68c79fa1
equal deleted inserted replaced
35128:7092c0b4cfc5 35129:22dca763eeef
388 * currently selected. 388 * currently selected.
389 */ 389 */
390 gchar *gtk_webview_get_selected_text(GtkWebView *webview); 390 gchar *gtk_webview_get_selected_text(GtkWebView *webview);
391 391
392 /** 392 /**
393 * Gets the container of the caret, along with its position in the container
394 * from a GtkWebView.
395 *
396 * @param webview The GtkWebView
397 * @param container_ret A pointer to a pointer to a WebKitDOMNode. This pointer
398 * will be set to the container the caret is in. Set to
399 * @c NULL if a range is selected.
400 * @param pos_ret A pointer to a glong. This value will be set to the
401 * position of the caret in the container. Set to -1 if a
402 * range is selected.
403 */
404 void gtk_webview_get_caret(GtkWebView *webview, WebKitDOMNode **container_ret,
405 glong *pos_ret);
406
407 /**
408 * Sets the caret position in container, in a GtkWebView.
409 *
410 * @param webview The GtkWebView
411 * @param container The WebKitDOMNode to set the caret in
412 * @param pos The position of the caret in the container
413 */
414 void gtk_webview_set_caret(GtkWebView *webview, WebKitDOMNode *container,
415 glong pos);
416
417 /**
393 * Clear all the formatting on a GtkWebView. 418 * Clear all the formatting on a GtkWebView.
394 * 419 *
395 * @param webview The GtkWebView 420 * @param webview The GtkWebView
396 */ 421 */
397 void gtk_webview_clear_formatting(GtkWebView *webview); 422 void gtk_webview_clear_formatting(GtkWebView *webview);

mercurial