home *** CD-ROM | disk | FTP | other *** search
- static char* sccs_trans_h = "%W%%G%";
-
- /*
- translations for the main menu buttons to popup the sub menu.
- SetPopup positions the shell. MenuPopup realizes the shell.
- */
-
- static String pb_Trans =
- "<EnterWindow>: highlight() \n\
- <LeaveWindow>: unhighlight() \n\
- <Btn1Down>: set_popup(box.action%d.popup_menu) MenuPopup(popup_menu) unhighlight()";
-
- /*
- translations for the command buttons of the popup menus the
- command callback is invoked when the button is released with
- the pointer in the command widget.
- */
-
- static String cb_Trans =
- "<EnterWindow>: set() \n\
- <LeaveWindow>: unset() \n\
- <Btn1Up>: notify() delay() reset()";
-
- /*
- translations for the shell of the popup menu. When the button
- is released the shell catches it and pops itself down.
- */
-
- static String pm_Trans =
- "<Btn1Up>: MenuPopdown()";
-
- /* add new actions to this program */
-
- static XtActionsRec menu_actions[] = {
- { "set_popup", set_popup },
- { "delay", delay }
- };
-
- /* the name of the shell, used by SetPopup and MenuPopup actions */
- static String popup_menu_name = "popup_menu";
-
-