7 /* Elements in the stack arrays. */
8 typedef struct _window_state
15 Dimension label_width
;
17 /* Width of toggle buttons or radio buttons. */
18 Dimension button_width
;
22 /* New fields for the XlwMenu widget instance record */
23 typedef struct _XlwMenu_part
25 /* slots set by the resources */
28 Pixel button_foreground
;
30 Dimension horizontal_spacing
;
31 Dimension vertical_spacing
;
32 Dimension arrow_spacing
;
33 Dimension shadow_thickness
;
34 Pixel top_shadow_color
;
35 Pixel bottom_shadow_color
;
36 Pixmap top_shadow_pixmap
;
37 Pixmap bottom_shadow_pixmap
;
40 XtCallbackList select
;
41 widget_value
* contents
;
44 /* State of the XlwMenu */
46 widget_value
** old_stack
;
49 /* New state after the user moved */
51 widget_value
** new_stack
;
54 /* Window resources */
55 window_state
* windows
;
58 /* Internal part, set by the XlwMenu */
63 GC inactive_button_gc
;
71 /* Full instance record declaration */
72 typedef struct _XlwMenuRec
78 /* New fields for the XlwMenu widget class record */
84 /* Full class record declaration. */
85 typedef struct _XlwMenuClassRec
87 CoreClassPart core_class
;
88 XlwMenuClassPart menu_class
;
92 extern XlwMenuClassRec xlwMenuClassRec
;
94 #endif /* _XlwMenuP_h */