Shoes lacks menus and I thought it might be useful for some people to be able to create them.
The method “make_menu” in this simple test application creates a simple menu and after clicking the item returns it to e.g. the following block :
make_menu(“Menu2”,80, 130, 70, items1, :ver, true, :leave_on){|x| alert “You clicked: #{x}”}
The options let you place the menu in any location (top,left), have it a given “title” and “width” and display “items” from an array. Additionally, you can choose to open menu horizontally or vertically, and by clicking or hoovering over the title. You can also choose if the menu should close after leaving the menu area or stay on.
Please test it and have fun.
kwicher
- Version 0.4 update ##
I changed a method “make_menu” to a class “Menu”, which also allows for a dynamic changing of the items in the menu. Additionally, I added an option to block some items in the menu – so they become unresponsive to hoovering and clicking. MTFBWY

Does anyone else have a problem under XP pro if the mouse is wiggled over the horizontal menu?