SHARE
TWEET

Untitled

a guest Oct 20th, 2011 23 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. #!/usr/bin/env python
  2. import pygtk
  3. pygtk.require('2.0')
  4. import gtk
  5. import gtkmozembed
  6.  
  7.  
  8. if __name__ == "__main__":
  9.         wid1=gtk.Window(gtk.WINDOW_TOPLEVEL)
  10.         wid1.set_title("WID1")
  11.         web1 = gtkmozembed.MozEmbed()
  12.         wid1.add(web1)
  13.         wid1.show_all()
  14.  
  15.         web1.load_url("http://youtube.com/")
  16.         gtk.main()
  17.  
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top