Menu
The Menu gadget is utilized to execute various sorts of menus. The objective of this gadget is to permit us to make a wide range of menus that can be utilized by our applications. It is additionally conceivable to utilize other stretched-out gadgets to execute new kinds of menus, for example, the OptionMenu gadget, which carries out a unique sort that creates a spring up a rundown of things inside a determination.
- bg - The foundation tone for decisions not under the mouse.
- bd - The width of the line around every one of the decisions. Default is 1.
- fg - The forefront tone is utilized for decisions not under the mouse.
- tear off - Normally, a menu can be detached. The main position (position 0) in the rundown of decisions is involved by the detach component and the extra decisions are added beginning at position 1. Assuming you set tearoff=0, the menu won't have a removed component, and decisions will be added beginning at position 0.
- relief - The default three-dimensional impact for menus is relief=RAISED.
- title - Normally, the title of a detach menu window will be equivalent to the text of the menu button or overflow that lead to this menu. To change the title of that window, set the title choice to that string.
0 Comments