7 /* Elements in the stack arrays. */
8 typedef struct _window_state
15 Dimension label_width
;
19 /* New fields for the XlwMenu widget instance record */
20 typedef struct _XlwMenu_part
22 /* slots set by the resources */
25 Pixel button_foreground
;
27 Dimension horizontal_spacing
;
28 Dimension vertical_spacing
;
29 Dimension arrow_spacing
;
30 Dimension shadow_thickness
;
31 Pixel top_shadow_color
;
32 Pixel bottom_shadow_color
;
33 Pixmap top_shadow_pixmap
;
34 Pixmap bottom_shadow_pixmap
;
37 XtCallbackList select
;
38 widget_value
* contents
;
41 /* State of the XlwMenu */
43 widget_value
** old_stack
;
46 /* New state after the user moved */
48 widget_value
** new_stack
;
51 /* Window resources */
52 window_state
* windows
;
55 /* Internal part, set by the XlwMenu */
60 GC inactive_button_gc
;
68 /* Full instance record declaration */
69 typedef struct _XlwMenuRec
75 /* New fields for the XlwMenu widget class record */
81 /* Full class record declaration. */
82 typedef struct _XlwMenuClassRec
84 CoreClassPart core_class
;
85 XlwMenuClassPart menu_class
;
89 extern XlwMenuClassRec xlwMenuClassRec
;
91 #endif /* _XlwMenuP_h */