Questions tagged [webkitgtk]

WebKit/GTK+ is the new GTK+ port of the WebKit, an open-source web content engine that powers numerous applications such as web browsers, email clients, feed readers, web and text editors.

WebKitGTK+ is the version of the WebKit open-source web engine that uses GTK+ as its user-facing front-end. It's a powerful system with a rich array of functionality.

103 questions
0
votes
0 answers

How to set remembering cookies in WebKitGTK (C++)?

I created WebKitGTK wrapper, and works fine, but don't remberer cookies. This is main.cpp file (I use webview/webview (on Github): #include "webview.h" #ifdef WIN32 int WINAPI WinMain(HINSTANCE hInt, HINSTANCE hPrevInst, LPSTR lpCmdLine, …
supervik1
  • 1
  • 1
0
votes
1 answer

webkitgtk build ( WebP libraries were not found when I have installed the webp library)

when I build the webkitgtk-2.34.6 on Ubuntu 20.04.3 LTS, using the following command:(Follow the official documentation)[https://trac.webkit.org/wiki/BuildingGtk] cmake -DPORT=GTK -DCMAKE_BUILD_TYPE=RelWithDebInfo -GNinja "WebP libraries were not…
陈润泽
  • 13
  • 4
0
votes
1 answer

Trouble Playing Youtube Videos with libwebkitgtk-4

Whenever I try to browse to a youtube video using the libwebkit2gtk library in Ubuntu 18 LTS, I'm met with a "Your browser can't play this video". I see that other browsers that use this library can play youtube content just fine…
ThomasMalloch13
  • 103
  • 1
  • 5
0
votes
1 answer

WebkitGtk application is not loading file URL

I am building a kiosk application using webkitgtk on the raspberry pi 4. This application will not be connected to the internet and all the html,css, javascript for the UI are all located on the local filesystem. I am using buildroot to setup the…
Cerezo
  • 209
  • 2
  • 9
0
votes
1 answer

Incomplete WEBKITGTK build

I am running buildroot on a fedora32 machine. I enebale the webkitgtk package. Downloading and configuring of the source runs with no errors However, when during the build process, make throws an error and crashes. I am fiarly new to linux and GTK…
Cerezo
  • 209
  • 2
  • 9
0
votes
1 answer

How to show javascript dialogs like NTLM dialog with webkitgtk

I am using webkitgtk container to display web page.However some pages require authentication and show javascript dialogs for authentication.How to handle it in webkitgtk? I have tried setting the properties allow-modal-dialogs to true and…
ra10
  • 69
  • 9
0
votes
1 answer

WebKitWebProcess makes new dock icons

When running a WebKitGTK+ application on macOS, every instance of the WebKitWebProcess makes a new dock icon. Is there a way to disable/fix this behavior? Suggestions to use lsuielement…
jmercouris
  • 348
  • 5
  • 17
0
votes
1 answer

jsc_value_object_invoke_method() with JSCValue* object not working

I am trying to call some jQuery functions from C++ code. What I did was copy the entire jQuery library as a string and used jsc_context_evaluate() to get access to all the jQuery methods. Here is an unspecific stripped-down version with a string,…
A student
  • 170
  • 11
0
votes
1 answer

Some SVG elements not rendering in python webkitgtk application

I'm writing a small application to generate circuit diagrams using python gtk3 bindings with WebKit and SchemDraw. My intention is to use the svg output of SchemDraw (uses matplotlib internally) and render it in a WebView widget. When I load an svg…
Louis Fry
  • 13
  • 3
0
votes
0 answers

How do I get the image title attribute for the image under the cursor in WebKit2GTK

This seems like a really dumb question, but I can't figure out what to Google. I want the xkcd hovertext, which is the title attribute of the img tag. WebKitHitTestResult has get_link_uri, get_link_title, and get_image_uri, but not get_image_title.…
0
votes
1 answer

WebktiGtk not loading .so extensions

I can't seem to get WebkitGTK (2.22.4) to load the .so web extensions for some reason and I am not quite sure why this is the case. I have the following setup (somewhat stripped down) WebkitGtk itself works fine as it loads the page and it fires the…
Liam Martens
  • 731
  • 7
  • 22
0
votes
1 answer

Getting Seg Fault when I try to dynamically load a custom library (.so) which is compiled with webkit2gtk library

I have created a shared library which has a function displaywebview that launches a GTK window and loads the URL into it using webkit2gtk. Now I am writing a caller program which loads this library using dlopen, gets the method displaywebview using…
Jainam MJ
  • 301
  • 4
  • 11
0
votes
1 answer

error: unknown type name ‘WebKitWebFrame’

I'm attempting to build a browser with a url bar. The URL bar needs to reflect any navigational changes in the browser, and the docs recommend the use of navigation-policy-decision-requested; the callback takes 5 params, with types WebkitWebView,…
Jonathan Wong
  • 48
  • 1
  • 11
0
votes
1 answer

Webkitgtk webview inside a gtk grid layout does not display correctly

I'm attempting to build a really simple browser using gtk+ and webkitgtk. This necessitates what a typical browser would need: a uri bar, a back button, home button, and actual webpage display area. The problem is that GTKWindow can only have at…
Jonathan Wong
  • 48
  • 1
  • 11
0
votes
1 answer

Give python variables to GTK+ with an html file

for a project i have to make a GUI for python. It should show some variables (temp etc). But I don't know how I can pass variables trough GTK to the window. Any answers appreciated :) some info: I am using a RPi3, but that's nothing which is…
TECHNOFAB
  • 121
  • 10