From: Joakim Verona Date: Mon, 23 Jul 2012 06:44:39 +0000 (+0200) Subject: some xwgir docs X-Git-Tag: emacs-25.0.90~3292 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=660d17cd2c207a41ddafff655bb3c2dd84d20538;p=emacs.git some xwgir docs --- diff --git a/README.xwidget b/README.xwidget index ca10f7ee546..6ca6f1a62ca 100644 --- a/README.xwidget +++ b/README.xwidget @@ -1612,3 +1612,14 @@ introspection to call a widget constructor(from xwidget-test.el): (xwgir-call-method (xwidget-at 1) "set_label" '( "xwgir set label!")) ) +Current limitation: +- Only 0 arg constructors are supported at the moment. Since xwidgets + defer construction, the args needs to be stored with the xwidget. + +- xwgir-call-method does indeed lisp to gobject conversion for the + arguments, but only some primitive types are supported atm. + +- next to no argument checking. If wrong type args are used with the + xwgir methods, emacs crashes. + +