Questions tagged [webkit-sharp]

A C#/CLI library that contains bindings to WebKit/Gtk+

7 questions
2
votes
3 answers

webkit-sharp scroll to an HTML anchor tag

I have a webkit-sharp WebView which I am using to display HTMLvia the LoadString method. The webview is placed in a ScrolledWindow the ScrolledWindow is placed in a Gtk Window. I want to be able to tell the WebView to scroll to a specific part of…
trampster
  • 8,598
  • 4
  • 37
  • 52
0
votes
1 answer

Capturing console messages from webkit-sharp

I have been trying to figure out how I can capture the close-web-view and console-message signals from WebKit in webkit-sharp (unfortunately I have to use webkitsharp as available on Ubuntu 16.04 packaging). I thought I had this working, however it…
Justin
  • 196
  • 1
  • 3
0
votes
0 answers

webkit-sharp MathML rendering

Good evening, I'm trying to use this JS library in my mono/gtk# project. At this moment I'm having simple webview widget provided by webkit-sharp. Webview opens HTML page witch uses ASCIIMathML.js lib to render expression like int_2^3 2x^2 dx. But…
Lex
  • 300
  • 1
  • 11
0
votes
1 answer

webkitgtk webkit_web_view_get_dom_document doesn't return

I'm importing the method in C# mono (since dom_document isn't implemented in webkit-sharp), like this: class ExtendedWebView : WebKit.WebView { [DllImport ("webkit-1.0")] private static extern IntPtr webkit_web_view_get_dom_document (IntPtr…
David Mulder
  • 7,595
  • 11
  • 45
  • 61
0
votes
1 answer

webkit-sharp is blocking popup windows, how do I capture WebKitWebView create event?

I tried capturing the event like this... class ExposedWebView : WebKit.WebView { public event EventHandler Create { add { Signal signal = Signal.Lookup (this, "create"); signal.AddDelegate (value); …
David Mulder
  • 7,595
  • 11
  • 45
  • 61
0
votes
1 answer

How do I modify the UserAgent in webkit-sharp webview object?

WebKit.WebView has a Settings.UserAgent option, but that only has a get() method defind, so I can't set the value. I can't seem to find anywhere else that it might be.
David Mulder
  • 7,595
  • 11
  • 45
  • 61
0
votes
1 answer

How do I use proxy in webkit-sharp i nMonoDevelop

I want to know how I can detect if the network the computer is connected to has proxy, and if it does then I want to be able to get the proxy address and the port of the network and use it in the web browser. I know this cannot be done through the…
rqmok
  • 834
  • 2
  • 9
  • 20