[Search for users] [Overall Top Noters] [List of all Conferences] [Download this site]

Conference bulova::decw_jan-89_to_nov-90

Title:DECWINDOWS 26-JAN-89 to 29-NOV-90
Notice:See 1639.0 for VMS V5.3 kit; 2043.0 for 5.4 IFT kit
Moderator:STAR::VATNE
Created:Mon Oct 30 1989
Last Modified:Mon Dec 31 1990
Last Successful Update:Fri Jun 06 1997
Number of topics:3726
Total number of notes:19516

2386.0. "DECwindows User-Application Guidance" by NEWVAX::ELLINGTON () Fri Mar 02 1990 14:40

I need to know how to create submenus from a menu verb selection,
i.e.      
			
	Generate Reports [->

where, if the user holds the MB1 key down on the arrow, a submenu will
appear.

Is there a programming guide for DECwindows application development? If
so, where (on line)?

If there is already a note regarding this issue, please let me know.

Thanks.

-Michelle
T.RTitleUserPersonal
Name
DateLines
2386.1pulldown_entry (or CascadeButton in Motif)R2ME2::OBRYANWhen in doubt, let the user decide.Fri Mar 02 1990 17:4265
re:.0

>I need to know how to create submenus from a menu verb selection,

>	Generate Reports [->

I assume you mean a pullright within a pulldown menu.  If so, then this is
simply another pulldown_entry widget inside the pulldown_menu.  Here is
an example in UIL: (Assuming "File" has "New..." and "Generate Reports" as
part of its pulldown.)

		main_window
		    |
		menu_bar
		/	\
  "File" pulldown_entry	 ...
	    |
	pulldown_menu
	/	    \
 "New" push_button   "Gen Rpt" pulldown_entry [->
			     |
			pulldown_menu
			/     |      \
		      pb      pb      pb


    file_Entr	: pulldown_entry gadget
    {
	arguments
	{
	    label_label = "File";
	};
	controls
	{
	    pulldown_menu
	    {
		controls
		{
		    push_button		new_Btn;
		    pulldown_entry	gen_rpt_Entr;
		};
	    };
	};
    }; ! file_Entr

    gen_rpt_Entr	: pulldown_entry gadget
    {
	arguments
	{
	    label_label = "Generate Reports";
	};
	controls
	{
	    pulldown_menu
	    {
		controls
		{
		    push_button	rpt_style1_Btn;
		    push_button	rpt_style2_Btn;
		    push_button	rpt_style3_Btn;
		};
	    };
	};
    }; ! gen_rpt_Entr