diff options
author | Joakim Verona <joakim@verona.se> | 2011-06-25 22:53:39 +0200 |
---|---|---|
committer | Joakim Verona <joakim@verona.se> | 2011-06-25 22:53:39 +0200 |
commit | 9fa0e291e866fb7945e18cd2ad8514090c13d510 (patch) | |
tree | 7535f7de7040c4200c669bd15c0bf153aa27c597 /src/xwidget.h | |
parent | 6716c046071a641da713adf2e1e3d2f583643a9d (diff) | |
download | emacs-9fa0e291e866fb7945e18cd2ad8514090c13d510.tar.gz |
cleanups + small step towards better lisp interface. use syms rather than ints for xwidget types
Diffstat (limited to 'src/xwidget.h')
-rw-r--r-- | src/xwidget.h | 8 |
1 files changed, 5 insertions, 3 deletions
diff --git a/src/xwidget.h b/src/xwidget.h index c66568eaac0..9e3d4669056 100644 --- a/src/xwidget.h +++ b/src/xwidget.h @@ -14,9 +14,11 @@ int valid_xwidget_p (Lisp_Object object) ; each xwidget instance/model is described by this struct. */ struct xwidget{ - int id; - int type; - char* title; + Lisp_Object plist;//auxilliary data + Lisp_Object type;//the widget type + + int id; // id is stored inside the struct which is conveniont in some cases + char* title;//a title that is used for button labels for instance int height; |