Mercurial > emacs
comparison src/gtkutil.h @ 49600:23a1cea22d13
Trailing whitespace deleted.
author | Juanma Barranquero <lekktu@gmail.com> |
---|---|
date | Tue, 04 Feb 2003 14:56:31 +0000 |
parents | a4d0ee33dcce |
children | 40170697bff1 d7ddb3e565de |
comparison
equal
deleted
inserted
replaced
49599:5ade352e8d1c | 49600:23a1cea22d13 |
---|---|
64 the menu is popped up. This structure is kept around as long as | 64 the menu is popped up. This structure is kept around as long as |
65 the menu is. */ | 65 the menu is. */ |
66 typedef struct xg_menu_cb_data_ | 66 typedef struct xg_menu_cb_data_ |
67 { | 67 { |
68 xg_list_node ptrs; | 68 xg_list_node ptrs; |
69 | 69 |
70 FRAME_PTR f; | 70 FRAME_PTR f; |
71 Lisp_Object menu_bar_vector; | 71 Lisp_Object menu_bar_vector; |
72 int menu_bar_items_used; | 72 int menu_bar_items_used; |
73 GCallback highlight_cb; | 73 GCallback highlight_cb; |
74 int ref_count; | 74 int ref_count; |
83 gulong unhighlight_id; | 83 gulong unhighlight_id; |
84 gulong select_id; | 84 gulong select_id; |
85 Lisp_Object help; | 85 Lisp_Object help; |
86 gpointer call_data; | 86 gpointer call_data; |
87 xg_menu_cb_data *cl_data; | 87 xg_menu_cb_data *cl_data; |
88 | 88 |
89 } xg_menu_item_cb_data; | 89 } xg_menu_item_cb_data; |
90 | 90 |
91 | 91 |
92 /* Used to specify menus and dialogs. | 92 /* Used to specify menus and dialogs. |
93 This is an adaption from lwlib for Gtk so we can use more of the same | 93 This is an adaption from lwlib for Gtk so we can use more of the same |
96 { | 96 { |
97 /* name of widget */ | 97 /* name of widget */ |
98 char *name; | 98 char *name; |
99 /* value (meaning depend on widget type) */ | 99 /* value (meaning depend on widget type) */ |
100 char *value; | 100 char *value; |
101 /* keyboard equivalent. no implications for XtTranslations */ | 101 /* keyboard equivalent. no implications for XtTranslations */ |
102 char *key; | 102 char *key; |
103 /* Help string or nil if none. | 103 /* Help string or nil if none. |
104 GC finds this string through the frame's menu_bar_vector | 104 GC finds this string through the frame's menu_bar_vector |
105 or through menu_items. */ | 105 or through menu_items. */ |
106 Lisp_Object help; | 106 Lisp_Object help; |