Created
September 3, 2018 10:19
-
-
Save arn-ob/e548c91231517cbb0f723cafc4319a66 to your computer and use it in GitHub Desktop.
Run FullScreen GUI App At Linux
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| #!/usr/bin/env python | |
| import gtk | |
| import webkit | |
| import gobject | |
| gobject.threads_init() | |
| win = gtk.Window() | |
| bro = webkit.WebView() | |
| bro.open("http://www.google.com") | |
| win.add(bro) | |
| win.show_all() | |
| win.fullscreen() | |
| gtk.main() |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment