1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-01 18:00:40 -08:00

some xwgir docs

This commit is contained in:
Joakim Verona 2012-07-23 08:44:39 +02:00
parent f8dd0eebf5
commit 660d17cd2c

View file

@ -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.