Problem 1
How do I bind <MOTION> in menu
i.e.
I want to display the brief note about the menu to status bar. I create a status.
I tried to bind MOTION event as follows but no result
set menu_name [CreateMenu .menu.menubar filemenu "File" 0]
$menu_name add command -label "New" -command { puts "Open" } -underline 0 -font actual
$menu_name add command -label "Open" -command { exit } -underline 1 -font actual
bind $menu_name <Motion> { .stausbar SetText "AAA" }
but it is not working then tried as follows
bind all <Motion> { .stausbar SetText "AAA" } -> again no result
Problem 2
How do bind Short cut key for menu I mean ATL-f.
How do I bind <MOTION> in menu
i.e.
I want to display the brief note about the menu to status bar. I create a status.
I tried to bind MOTION event as follows but no result
set menu_name [CreateMenu .menu.menubar filemenu "File" 0]
$menu_name add command -label "New" -command { puts "Open" } -underline 0 -font actual
$menu_name add command -label "Open" -command { exit } -underline 1 -font actual
bind $menu_name <Motion> { .stausbar SetText "AAA" }
but it is not working then tried as follows
bind all <Motion> { .stausbar SetText "AAA" } -> again no result
Problem 2
How do bind Short cut key for menu I mean ATL-f.