Gtk2::WebKit::WebView(3)

NAME
Gtk2::WebKit::WebView

HIERARCHY
  Glib::Object
  +----Glib::InitiallyUnowned
       +----Gtk2::Object
            +----Gtk2::Widget
                 +----Gtk2::Container
                      +----Gtk2::WebKit::WebView

INTERFACES
  Glib::Object::_Unregistered::AtkImplementorIface
  Gtk2::Buildable

METHODS

  widget = Gtk2::WebKit::WebView->new

  webbackforwardlist = $web_view->get_back_forward_list

  boolean = $web_view->can_copy_clipboard

  boolean = $web_view->can_cut_clipboard

  boolean = $web_view->can_go_back

  boolean = $web_view->can_go_back_or_forward ($steps)

•   $steps (integer)

  boolean = $web_view->can_go_forward

  boolean = $web_view->can_paste_clipboard

  boolean = $web_view->can_redo

  boolean = $web_view->can_show_mime_type ($mime_type)

•   $mime_type (string)

  boolean = $web_view->can_undo

  $web_view->copy_clipboard

  targetlist = $web_view->get_copy_target_list

  string = $web_view->get_custom_encoding

  $web_view->set_custom_encoding ($encoding)

•   $encoding (string)

  $web_view->cut_clipboard

  $web_view->delete_selection

  boolean = $web_view->get_editable

  $web_view->set_editable ($flag)

•   $flag (boolean)

  string = $web_view->get_encoding

  $web_view->execute_script ($script)

•   $script (string)

  webframe = $web_view->get_focused_frame

  boolean = $web_view->get_full_content_zoom

  $web_view->set_full_content_zoom ($full_content_zoom)

•   $full_content_zoom (boolean)

  $web_view->go_back

  $web_view->go_back_or_forward ($steps)

•   $steps (integer)

  $web_view->go_forward

  boolean = $web_view->go_to_back_forward_item ($item)

•   $item (Gtk2::WebKit::WebHistoryItem)

  boolean = $web_view->has_selection

  $web_view->set_highlight_text_matches ($highlight)

•   $highlight (boolean)

  string = $web_view->get_icon_uri

  webinspector = $web_view->get_inspector

  $web_view->load_html_string ($content, $base_uri)

•   $content (string)

•   $base_uri (string)

  $web_view->load_request ($request)

•   $request (Gtk2::WebKit::NetworkRequest)

  loadstatus = $web_view->get_load_status

  $web_view->load_string ($content, $content_mime_type, $content_encoding, $base_uri)

•   $content (string)

•   $content_mime_type (string)

•   $content_encoding (string)

•   $base_uri (string)

  $web_view->load_uri ($uri)

•   $uri (string)

  webframe = $web_view->get_main_frame

  $web_view->set_maintains_back_forward_list ($flag)

•   $flag (boolean)

  integer = $web_view->mark_text_matches ($string, $case_sensitive, $limit)

•   $string (string)

•   $case_sensitive (boolean)

•   $limit (integer)

  $web_view->move_cursor ($step, $count)

•   $step (Gtk2::MovementStep)

•   $count (integer)

  $web_view->open ($uri)

•   $uri (string)

  $web_view->paste_clipboard

  targetlist = $web_view->get_paste_target_list

  double = $web_view->get_progress

  $web_view->redo

  $web_view->reload

  $web_view->reload_bypass_cache

  boolean = $web_view->search_text ($string, $case_sensitive, $forward, $wrap)

•   $string (string)

•   $case_sensitive (boolean)

•   $forward (boolean)

•   $wrap (boolean)

  $web_view->select_all

  websettings = $web_view->get_settings

  $web_view->set_settings ($settings)

•   $settings (Gtk2::WebKit::WebSettings)

  $web_view->stop_loading

  string = $web_view->get_title

  boolean = $web_view->get_transparent

  $web_view->set_transparent ($flag)

•   $flag (boolean)

  $web_view->undo

  $web_view->unmark_text_matches

  string = $web_view->get_uri

  boolean = $web_view->get_view_source_mode

  $web_view->set_view_source_mode ($view_source_mode)

•   $view_source_mode (boolean)

  cachemodel = Gtk2::WebKit::WebView->webkit_get_cache_model

  Gtk2::WebKit::WebView->webkit_set_cache_model ($cache_model)

•   $cache_model (Gtk2::WebKit::CacheModel)

  webwindowfeatures = $web_view->get_window_features

  $web_view->zoom_in

  double = $web_view->get_zoom_level

  $web_view->set_zoom_level ($zoom_level)

•   $zoom_level (double)

  $web_view->zoom_out

PROPERTIES

'copy-target-list' (Gtk2::TargetList : default undef : readable / private)
    The list of targets this web view supports for clipboard copying

'custom-encoding' (string : default undef : readable / writable / private)
    The custom encoding of the web view

'editable' (boolean : default false : readable / writable / private)
    Whether content can be modified by the user

'encoding' (string : default undef : readable / private)
    The default encoding of the web view

'full-content-zoom' (boolean : default false : readable / writable / private)
    Whether the full content is scaled when zooming

'icon-uri' (string : default undef : readable / private)
    The URI for the favicon for the #WebKitWebView.

'im-context' (Gtk2::IMContext : default undef : readable / private)
    The GtkIMMultiContext for the #WebKitWebView.

'load-status' (Gtk2::WebKit::LoadStatus : default "finished" : readable / private)
    Determines the current status of the load

'paste-target-list' (Gtk2::TargetList : default undef : readable / private)
    The list of targets this web view supports for clipboard pasting

'progress' (double : default 1 : readable / private)
    Determines the current progress of the load

'self-scrolling' (boolean : default false : readable / writable / construct-only / private)
    Whether or not this WebView draws its own scrollbars.

'settings' (Gtk2::WebKit::WebSettings : default undef : readable / writable / private)
    An associated WebKitWebSettings instance

'title' (string : default undef : readable / private)
    Returns the @web_view's document title

'transparent' (boolean : default false : readable / writable / private)
    Whether content has a transparent background

'uri' (string : default undef : readable / private)
    Returns the current URI of the contents displayed by the @web_view

'view-mode' (WebKitWebViewViewMode : default "windowed" : readable / writable / private)
    The view-mode media feature for the #WebKitWebView.

'viewport-attributes' (Glib::Object::_Unregistered::WebKitViewportAttributes : default undef : readable / private)
    The associated WebKitViewportAttributes instance

'web-inspector' (Gtk2::WebKit::WebInspector : default undef : readable / private)
    The associated WebKitWebInspector instance

'window-features' (Gtk2::WebKit::WebWindowFeatures : default undef : readable / writable / private)
    An associated WebKitWebWindowFeatures instance

'zoom-level' (float : default 1 : readable / writable / private)
    The level of zoom of the content

SIGNALS

icon-loaded (Gtk2::WebKit::WebView, string)
load-finished (Gtk2::WebKit::WebView, Gtk2::WebKit::WebFrame)
Gtk2::WebKit::WebView = create-web-view (Gtk2::WebKit::WebView, Gtk2::WebKit::WebFrame)
boolean = web-view-ready (Gtk2::WebKit::WebView)
boolean = close-web-view (Gtk2::WebKit::WebView)
WebKitNavigationResponse = navigation-requested (Gtk2::WebKit::WebView, Gtk2::WebKit::WebFrame, Gtk2::WebKit::NetworkRequest)
boolean = new-window-policy-decision-requested (Gtk2::WebKit::WebView, Gtk2::WebKit::WebFrame, Gtk2::WebKit::NetworkRequest, Gtk2::WebKit::WebNavigationAction, Gtk2::WebKit::WebPolicyDecision)
boolean = navigation-policy-decision-requested (Gtk2::WebKit::WebView, Gtk2::WebKit::WebFrame, Gtk2::WebKit::NetworkRequest, Gtk2::WebKit::WebNavigationAction, Gtk2::WebKit::WebPolicyDecision)
boolean = mime-type-policy-decision-requested (Gtk2::WebKit::WebView, Gtk2::WebKit::WebFrame, Gtk2::WebKit::NetworkRequest, string, Gtk2::WebKit::WebPolicyDecision)
window-object-cleared (Gtk2::WebKit::WebView, Gtk2::WebKit::WebFrame, gpointer, gpointer)
boolean = download-requested (Gtk2::WebKit::WebView, Gtk2::WebKit::Download)
load-started (Gtk2::WebKit::WebView, Gtk2::WebKit::WebFrame)
load-committed (Gtk2::WebKit::WebView, Gtk2::WebKit::WebFrame)
load-progress-changed (Gtk2::WebKit::WebView, integer)
boolean = load-error (Gtk2::WebKit::WebView, Gtk2::WebKit::WebFrame, string, Glib::Error)
onload-event (Gtk2::WebKit::WebView, Gtk2::WebKit::WebFrame)
title-changed (Gtk2::WebKit::WebView, Gtk2::WebKit::WebFrame, string)
hovering-over-link (Gtk2::WebKit::WebView, string, string)
populate-popup (Gtk2::WebKit::WebView, Gtk2::Menu)
boolean = print-requested (Gtk2::WebKit::WebView, Gtk2::WebKit::WebFrame)
status-bar-text-changed (Gtk2::WebKit::WebView, string)
boolean = console-message (Gtk2::WebKit::WebView, string, integer, string)
boolean = script-alert (Gtk2::WebKit::WebView, Gtk2::WebKit::WebFrame, string)
boolean = script-confirm (Gtk2::WebKit::WebView, Gtk2::WebKit::WebFrame, string, gpointer)
boolean = script-prompt (Gtk2::WebKit::WebView, Gtk2::WebKit::WebFrame, string, string, gpointer)
select-all (Gtk2::WebKit::WebView)
cut-clipboard (Gtk2::WebKit::WebView)
copy-clipboard (Gtk2::WebKit::WebView)
paste-clipboard (Gtk2::WebKit::WebView)
undo (Gtk2::WebKit::WebView)
redo (Gtk2::WebKit::WebView)
boolean = move-cursor (Gtk2::WebKit::WebView, Gtk2::MovementStep, integer)
Gtk2::Widget = create-plugin-widget (Gtk2::WebKit::WebView, string, string, GHashTable)
database-quota-exceeded (Gtk2::WebKit::WebView, Glib::Object, Glib::Object)
resource-request-starting (Gtk2::WebKit::WebView, Gtk2::WebKit::WebFrame, Gtk2::WebKit::WebResource, Gtk2::WebKit::NetworkRequest, Gtk2::WebKit::NetworkResponse)
boolean = geolocation-policy-decision-requested (Gtk2::WebKit::WebView, Gtk2::WebKit::WebFrame, Gtk2::WebKit::GeolocationPolicyDecision)
geolocation-policy-decision-cancelled (Gtk2::WebKit::WebView, Gtk2::WebKit::WebFrame)
document-load-finished (Gtk2::WebKit::WebView, Gtk2::WebKit::WebFrame)
frame-created (Gtk2::WebKit::WebView, Gtk2::WebKit::WebFrame)
boolean = run-file-chooser (Gtk2::WebKit::WebView, Glib::Object::_Unregistered::WebKitFileChooserRequest)
boolean = should-begin-editing (Gtk2::WebKit::WebView, Glib::Object::_Unregistered::WebKitDOMRange)
boolean = should-end-editing (Gtk2::WebKit::WebView, Glib::Object::_Unregistered::WebKitDOMRange)
boolean = should-insert-node (Gtk2::WebKit::WebView, Glib::Object::_Unregistered::WebKitDOMNode, Glib::Object::_Unregistered::WebKitDOMRange, WebKitInsertAction)
boolean = should-insert-text (Gtk2::WebKit::WebView, string, Glib::Object::_Unregistered::WebKitDOMRange, WebKitInsertAction)
boolean = should-delete-range (Gtk2::WebKit::WebView, Glib::Object::_Unregistered::WebKitDOMRange)
boolean = should-show-delete-interface-for-element (Gtk2::WebKit::WebView, Glib::Object::_Unregistered::WebKitDOMHTMLElement)
boolean = should-change-selected-range (Gtk2::WebKit::WebView, Glib::Object::_Unregistered::WebKitDOMRange, Glib::Object::_Unregistered::WebKitDOMRange, WebKitSelectionAffinity, boolean)
boolean = should-apply-style (Gtk2::WebKit::WebView, Glib::Object::_Unregistered::WebKitDOMCSSStyleDeclaration, Glib::Object::_Unregistered::WebKitDOMRange)
editing-began (Gtk2::WebKit::WebView)
user-changed-contents (Gtk2::WebKit::WebView)
editing-ended (Gtk2::WebKit::WebView)
selection-changed (Gtk2::WebKit::WebView)
viewport-attributes-recompute-requested (Gtk2::WebKit::WebView, Glib::Object::_Unregistered::WebKitViewportAttributes)
viewport-attributes-changed (Gtk2::WebKit::WebView, Glib::Object::_Unregistered::WebKitViewportAttributes)
boolean = entering-fullscreen (Gtk2::WebKit::WebView, Glib::Object::_Unregistered::WebKitDOMHTMLElement)
boolean = leaving-fullscreen (Gtk2::WebKit::WebView, Glib::Object::_Unregistered::WebKitDOMHTMLElement)
resource-response-received (Gtk2::WebKit::WebView, Gtk2::WebKit::WebFrame, Gtk2::WebKit::WebResource, Gtk2::WebKit::NetworkResponse)
resource-load-finished (Gtk2::WebKit::WebView, Gtk2::WebKit::WebFrame, Gtk2::WebKit::WebResource)
resource-content-length-received (Gtk2::WebKit::WebView, Gtk2::WebKit::WebFrame, Gtk2::WebKit::WebResource, integer)
resource-load-failed (Gtk2::WebKit::WebView, Gtk2::WebKit::WebFrame, Gtk2::WebKit::WebResource, Glib::Error)
boolean = context-menu (Gtk2::WebKit::WebView, Gtk2::Widget, Gtk2::WebKit::HitTestResult, boolean)
set-scroll-adjustments (Gtk2::WebKit::WebView, Gtk2::Adjustment, Gtk2::Adjustment)

ENUMS AND FLAGS

  enum Gtk2::MovementStep

•   'logical-positions' / 'GTK_MOVEMENT_LOGICAL_POSITIONS'

•   'visual-positions' / 'GTK_MOVEMENT_VISUAL_POSITIONS'

•   'words' / 'GTK_MOVEMENT_WORDS'

•   'display-lines' / 'GTK_MOVEMENT_DISPLAY_LINES'

•   'display-line-ends' / 'GTK_MOVEMENT_DISPLAY_LINE_ENDS'

•   'paragraphs' / 'GTK_MOVEMENT_PARAGRAPHS'

•   'paragraph-ends' / 'GTK_MOVEMENT_PARAGRAPH_ENDS'

•   'pages' / 'GTK_MOVEMENT_PAGES'

•   'buffer-ends' / 'GTK_MOVEMENT_BUFFER_ENDS'

•   'horizontal-pages' / 'GTK_MOVEMENT_HORIZONTAL_PAGES'

  enum Gtk2::WebKit::CacheModel

•   'default' / 'WEBKIT_CACHE_MODEL_DEFAULT'

•   'document-viewer' / 'WEBKIT_CACHE_MODEL_DOCUMENT_VIEWER'

•   'web-browser' / 'WEBKIT_CACHE_MODEL_WEB_BROWSER'

•   'document-browser' / 'WEBKIT_CACHE_MODEL_DOCUMENT_BROWSER'

  enum Gtk2::WebKit::LoadStatus

•   'provisional' / 'WEBKIT_LOAD_PROVISIONAL'

•   'committed' / 'WEBKIT_LOAD_COMMITTED'

•   'finished' / 'WEBKIT_LOAD_FINISHED'

•   'first-visually-non-empty-layout' / 'WEBKIT_LOAD_FIRST_VISUALLY_NON_EMPTY_LAYOUT'

•   'failed' / 'WEBKIT_LOAD_FAILED'

  enum WebKitInsertAction

•   'typed' / 'WEBKIT_INSERT_ACTION_TYPED'

•   'pasted' / 'WEBKIT_INSERT_ACTION_PASTED'

•   'dropped' / 'WEBKIT_INSERT_ACTION_DROPPED'

  enum WebKitNavigationResponse

•   'accept' / 'WEBKIT_NAVIGATION_RESPONSE_ACCEPT'

•   'ignore' / 'WEBKIT_NAVIGATION_RESPONSE_IGNORE'

•   'download' / 'WEBKIT_NAVIGATION_RESPONSE_DOWNLOAD'

  enum WebKitSelectionAffinity

•   'upstream' / 'WEBKIT_SELECTION_AFFINITY_UPSTREAM'

•   'downstream' / 'WEBKIT_SELECTION_AFFINITY_DOWNSTREAM'

  enum WebKitWebViewViewMode

•   'windowed' / 'WEBKIT_WEB_VIEW_VIEW_MODE_WINDOWED'

•   'floating' / 'WEBKIT_WEB_VIEW_VIEW_MODE_FLOATING'

•   'fullscreen' / 'WEBKIT_WEB_VIEW_VIEW_MODE_FULLSCREEN'

•   'maximized' / 'WEBKIT_WEB_VIEW_VIEW_MODE_MAXIMIZED'

•   'minimized' / 'WEBKIT_WEB_VIEW_VIEW_MODE_MINIMIZED'

SEE ALSO
Gtk2::WebKit, Glib::Object, Glib::InitiallyUnowned, Gtk2::Object, Gtk2::Widget, Gtk2::Container

COPYRIGHT
Copyright (C) 2008, Florian Ragwitz