diff options
| author | Joakim Verona | 2011-06-25 22:53:39 +0200 |
|---|---|---|
| committer | Joakim Verona | 2011-06-25 22:53:39 +0200 |
| commit | 9fa0e291e866fb7945e18cd2ad8514090c13d510 (patch) | |
| tree | 7535f7de7040c4200c669bd15c0bf153aa27c597 /src/xwidget.h | |
| parent | 6716c046071a641da713adf2e1e3d2f583643a9d (diff) | |
| download | emacs-9fa0e291e866fb7945e18cd2ad8514090c13d510.tar.gz emacs-9fa0e291e866fb7945e18cd2ad8514090c13d510.zip | |
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) ; | |||
| 14 | each xwidget instance/model is described by this struct. | 14 | each xwidget instance/model is described by this struct. |
| 15 | */ | 15 | */ |
| 16 | struct xwidget{ | 16 | struct xwidget{ |
| 17 | int id; | 17 | Lisp_Object plist;//auxilliary data |
| 18 | int type; | 18 | Lisp_Object type;//the widget type |
| 19 | char* title; | 19 | |
| 20 | int id; // id is stored inside the struct which is conveniont in some cases | ||
| 21 | char* title;//a title that is used for button labels for instance | ||
| 20 | 22 | ||
| 21 | 23 | ||
| 22 | int height; | 24 | int height; |