projects
/
chise
/
xemacs-chise.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
(char-db-coded-charset-priority-list): Ignore `mojikyo-pj-*'.
[chise/xemacs-chise.git]
/
lwlib
/
lwlib.h
diff --git
a/lwlib/lwlib.h
b/lwlib/lwlib.h
index
76d3241
..
d2f0c54
100644
(file)
--- a/
lwlib/lwlib.h
+++ b/
lwlib/lwlib.h
@@
-104,8
+104,11
@@
typedef struct _widget_args
ArgList args;
int nargs;
/* Copying args is impossible so we make the caller give us heap allocated
ArgList args;
int nargs;
/* Copying args is impossible so we make the caller give us heap allocated
- args and free them when on-one wants them any more. */
+ args and free them when no one wants them any more. */
int ref_count;
int ref_count;
+ /* Since we are reference counting we need to be able to determine
+ when something has changed. */
+ Boolean args_changed;
} widget_args;
typedef struct _widget_value
} widget_args;
typedef struct _widget_value
@@
-115,7
+118,7
@@
typedef struct _widget_value
/* name of widget */
char* name;
/* name of widget */
char* name;
- /* value (meaning BOGUSLY depend on widget type) */
+ /* value (meaning BOGUSLY depends on widget type) */
char* value;
/* keyboard equivalent. no implications for XtTranslations */
char* key;
char* value;
/* keyboard equivalent. no implications for XtTranslations */
char* key;
@@
-134,11
+137,11
@@
typedef struct _widget_value
Boolean edited;
/* true if has changed (maintained by lw library) */
change_type change;
Boolean edited;
/* true if has changed (maintained by lw library) */
change_type change;
- /* Contents of the sub-widgets, also selected slot for checkbox */
+ /* Contents of sub-widgets, also selected slot for checkbox */
struct _widget_value* contents;
/* data passed to callback */
XtPointer call_data;
struct _widget_value* contents;
/* data passed to callback */
XtPointer call_data;
- /* next one in the list */
+ /* next in the list of siblings */
struct _widget_value* next;
/* slot for the toolkit dependent part. Always initialize to NULL. */
void* toolkit_data;
struct _widget_value* next;
/* slot for the toolkit dependent part. Always initialize to NULL. */
void* toolkit_data;