diff options
| author | Joakim Verona | 2012-07-23 08:44:39 +0200 |
|---|---|---|
| committer | Joakim Verona | 2012-07-23 08:44:39 +0200 |
| commit | 660d17cd2c207a41ddafff655bb3c2dd84d20538 (patch) | |
| tree | 11fd2549ccaf6c71c6f56836082feb492588b52e | |
| parent | f8dd0eebf5ab472db2d9387c2b0f34b2ed594a15 (diff) | |
| download | emacs-660d17cd2c207a41ddafff655bb3c2dd84d20538.tar.gz emacs-660d17cd2c207a41ddafff655bb3c2dd84d20538.zip | |
some xwgir docs
| -rw-r--r-- | README.xwidget | 11 |
1 files changed, 11 insertions, 0 deletions
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): | |||
| 1612 | (xwgir-call-method (xwidget-at 1) "set_label" '( "xwgir set label!")) | 1612 | (xwgir-call-method (xwidget-at 1) "set_label" '( "xwgir set label!")) |
| 1613 | ) | 1613 | ) |
| 1614 | 1614 | ||
| 1615 | Current limitation: | ||
| 1616 | - Only 0 arg constructors are supported at the moment. Since xwidgets | ||
| 1617 | defer construction, the args needs to be stored with the xwidget. | ||
| 1618 | |||
| 1619 | - xwgir-call-method does indeed lisp to gobject conversion for the | ||
| 1620 | arguments, but only some primitive types are supported atm. | ||
| 1621 | |||
| 1622 | - next to no argument checking. If wrong type args are used with the | ||
| 1623 | xwgir methods, emacs crashes. | ||
| 1624 | |||
| 1625 | |||