]> git.eshelyaron.com Git - emacs.git/commitdiff
small test changes
authorJoakim Verona <joakim@verona.se>
Mon, 23 Jul 2012 13:28:30 +0000 (15:28 +0200)
committerJoakim Verona <joakim@verona.se>
Mon, 23 Jul 2012 13:28:30 +0000 (15:28 +0200)
lisp/xwidget-test.el

index 5aaff75b436965f2d28065cef9887499612084f9..eabfc0a281737e7797716de948181efd110c2d43 100644 (file)
 
 (defun xwgir-test ()
   (interactive)
+  (xwgir-require-namespace "Gtk" "3.0")
+  (put 'color-selection :xwgir-class '("Gtk" "ColorSelection"))
+  
   (xwgir-demo-a-xwgir-button)
   (xwgir-call-method (xwidget-at 1) "set_label" '( "xwgir set label!"))
   )
 
+
+;; tentative testcase:
+;; (xwgir-require-namespace "WebKit" "3.0")
+
+;; (put 'webkit-osr :xwgir-class '("WebKit" "WebView"))
+;; (xwgir-call-method (xwidget-at 1) "set_zoom_level" '(3.0))
+
+;; (xwgir-require-namespace "Gtk" "3.0")
+;; (put 'color-selection :xwgir-class '("Gtk" "ColorSelection"))
+
+
 (xwidget-demo "basic"
   (xwidget-insert (point-min)  'button "button" 40  50 )
   (xwidget-insert          15  'toggle "toggle" 60  30  )