menu

Name

menu -- Return a menu object with the given attributes.

Synopsis

(menu list-of-menuitems #&key
		      (image-side 'menu-side-image)
		      (image-align 'top)
		      (color-bg-image-side 'menu-side-bg-color)
		      (image-bg 'menu-bg-image)
		      (color-text 'menu-text-color)
		      (color-bg 'menu-bg-color)
		      (color-stipple 'menu-stipple-color)
		      (hl-color-fg 'menu-hl-fg-color)
		      (hl-color-bg 'menu-hl-bg-color)
		      (hl-relief? #t)
		      (font 'menu-font)
		      (look 'menu-look)
		      popup-delay hover-delay
		      (extra #f))

Description

Return a menu object with the given attributes. LIST-OF-MENUITEMS is a list of menuitem objects (each created with make-menuitem or menuitem). IMAGE-SIDE is an image object to be displayed along the left edge of the menu. IMAGE-ALIGN determines whether to align that image to the 'top, 'center or 'bottom of the menu. COLOR-BG-IMAGE-SIDE is the background color for that image object. COLOR-TEXT is a color object or string for the foreground text color of menu items. COLOR-BG is a color object or string for the background color for the menu and menu items. COLOR-STIPPLE is a color object for stippled ("grayed") menu items. FONT is a font object for the font of the menu items. EXTRA is an extra argument specific to the menu look used for this menu.

Implementation Notes

Module: (app scwm base)

Defined in scheme/base.scm at line 548 (CVS log)