comparison lwlib/lwlib.h @ 367:a4f53d9b3154 r21-1-13

Import from CVS: tag r21-1-13
author cvs
date Mon, 13 Aug 2007 11:01:07 +0200
parents 4f79e16b1112
children cc15677e0335
comparison
equal deleted inserted replaced
366:83d76f480a59 367:a4f53d9b3154
111 /* This slot is only partially utilized right now. */ 111 /* This slot is only partially utilized right now. */
112 widget_value_type type; 112 widget_value_type type;
113 113
114 /* name of widget */ 114 /* name of widget */
115 char* name; 115 char* name;
116 /* value (meaning BOGUSLY depend on widget type) */ 116 /* value (meaning BOGUSLY depends on widget type) */
117 char* value; 117 char* value;
118 /* keyboard equivalent. no implications for XtTranslations */ 118 /* keyboard equivalent. no implications for XtTranslations */
119 char* key; 119 char* key;
120 /* accelerator key. For XEmacs, this should be a Lisp_Object holding a 120 /* accelerator key. For XEmacs, this should be a Lisp_Object holding a
121 char or symbol suitable for passing to event_matches_key_specifier_p. 121 char or symbol suitable for passing to event_matches_key_specifier_p.
130 Boolean selected; 130 Boolean selected;
131 /* true if was edited (maintained by get_value) */ 131 /* true if was edited (maintained by get_value) */
132 Boolean edited; 132 Boolean edited;
133 /* true if has changed (maintained by lw library) */ 133 /* true if has changed (maintained by lw library) */
134 change_type change; 134 change_type change;
135 /* Contents of the sub-widgets, also selected slot for checkbox */ 135 /* Contents of sub-widgets, also selected slot for checkbox */
136 struct _widget_value* contents; 136 struct _widget_value* contents;
137 /* data passed to callback */ 137 /* data passed to callback */
138 XtPointer call_data; 138 XtPointer call_data;
139 /* next one in the list */ 139 /* next in the list of siblings */
140 struct _widget_value* next; 140 struct _widget_value* next;
141 /* slot for the toolkit dependent part. Always initialize to NULL. */ 141 /* slot for the toolkit dependent part. Always initialize to NULL. */
142 void* toolkit_data; 142 void* toolkit_data;
143 /* tell us if we should free the toolkit data slot when freeing the 143 /* tell us if we should free the toolkit data slot when freeing the
144 widget_value itself. */ 144 widget_value itself. */