X-Git-Url: https://code.delx.au/gnu-emacs/blobdiff_plain/99570665ff9d1822bcd45a27135906e3bd5c786b..4d0b9a0a45e14e5612a40c93063cab7842645557:/lwlib/lwlib.h diff --git a/lwlib/lwlib.h b/lwlib/lwlib.h index e101801949..02560e4754 100644 --- a/lwlib/lwlib.h +++ b/lwlib/lwlib.h @@ -5,12 +5,12 @@ /* ** Widget values depend on the Widget type: -** +** ** widget: (name value key enabled data contents/selected) ** ** label: ("name" "string" NULL NULL NULL NULL) ** button: ("name" "string" "key" T/F data ) -** button w/menu: +** button w/menu: ** ("name" "string" "key" T/F data (label|button|button w/menu...)) ** menubar: ("name" NULL NULL T/F data (button w/menu)) ** selectable thing: @@ -54,7 +54,7 @@ enum menu_separator SEPARATOR_SHADOW_ETCHED_IN_DASH, SEPARATOR_SHADOW_ETCHED_OUT_DASH, - /* The following are supported by XEmacs' Lucid menus. */ + /* The following are supported by Lucid menus. */ SEPARATOR_SHADOW_DOUBLE_ETCHED_IN, SEPARATOR_SHADOW_DOUBLE_ETCHED_OUT, SEPARATOR_SHADOW_DOUBLE_ETCHED_IN_DASH, @@ -67,10 +67,12 @@ typedef struct _widget_value char* name; /* value (meaning depend on widget type) */ char* value; - /* keyboard equivalent. no implications for XtTranslations */ + /* keyboard equivalent. no implications for XtTranslations */ char* key; - /* Help string or null if none. */ - char *help; + /* Help string or nil if none. + GC finds this string through the frame's menu_bar_vector + or through menu_items. */ + Lisp_Object help; /* true if enabled */ Boolean enabled; /* true if selected */ @@ -165,3 +167,6 @@ int lw_separator_p __P ((char *label, enum menu_separator *type, void lwlib_bcopy __P ((char*, char*, int)); #endif /* LWLIB_H */ + +/* arch-tag: 44d818d5-7eb2-4d87-acd7-b992bb0d5d20 + (do not change this comment) */