The menubutton is a specialization of the button widgets. It allows for attaching a menu that will be displayed when pressing the button.
interface menubutton : widget { <widgets/menubutton.h>
sources/java/hush.dv.widgets.menubutton
menubutton(char* p, char* options = "");
menubutton(widget* w, char* p, char* options = "");
void text(char* s);
void bitmap(char* s);
void menu(class menu* m);
};
-heigth <number> -menu <pathname> -state <normal|active|disabled> -width <number>
activebackground, activeforeground, anchor, background, borderwidth, cursor, disabledforeground, font, foreground, padx, pady, relief, text, textvariable, underline,
The menubutton must be used to pack menus in a