...
No Format | ||||
---|---|---|---|---|
| ||||
# Get the Geocap help menu. This could be any menu set helpmenu [mainwindow helpmenu] # Add an item named "Hello" to the menu. The commands are the statements found inside the braces. qaddaction $helpmenu "Hello" { qinformation Hello "Hello there!" } |
See qmainwindow for examples on how to use the qaddaction command. See the qaction command for information on how to create action objects.