Go to:
Gentoo Home
Documentation
Forums
Lists
Bugs
Planet
Store
Wiki
Get Gentoo!
Gentoo's Bugzilla – Attachment 874147 Details for
Bug 916957
net-libs/webkit-gtk: versions 2.42.1 and 2.42.1-r410 don't work with nvidia gpu (x11-drivers/nvidia-drivers)
Home
|
New
–
[Ex]
|
Browse
|
Search
|
Privacy Policy
|
[?]
|
Reports
|
Requests
|
Help
|
New Account
|
Log In
[x]
|
Forgot Password
Login:
[x]
Script to test webkit-gtk
test.py (text/x-python), 669 bytes, created by
lfpraca
on 2023-11-06 10:48:46 UTC
(
hide
)
Description:
Script to test webkit-gtk
Filename:
MIME Type:
Creator:
lfpraca
Created:
2023-11-06 10:48:46 UTC
Size:
669 bytes
patch
obsolete
>import gi >gi.require_version('Gtk', '3.0') >gi.require_version('WebKit2', '4.0') >from gi.repository import Gtk, WebKit2 > >def main(): > # Create a Gtk application > app = Gtk.Application(application_id="org.example.myapp") > app.connect("activate", on_activate) > app.run(None) > >def on_activate(app): > # Create a Gtk Window > window = Gtk.Window(application=app) > window.set_default_size(800, 600) > > # Create a WebKit WebView > webview = WebKit2.WebView() > webview.load_uri('file://./test.html') > > # Add the WebView to the window > window.add(webview) > > # Show all the elements > window.show_all() > >if __name__ == "__main__": > main()
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Raw
Actions:
View
Attachments on
bug 916957
: 874147 |
874151