Re: Menubar question [message #5584] |
Thu, 04 January 1996 00:00 |
Ken Knighton
Messages: 44 Registered: May 1995
|
Member |
|
|
mallozzi@ssl.msfc.nasa.gov wrote:
> Hi all,
>
> When creating a menu bar, BASE = WIDGET_BASE(MBAR = MENU_BAR), how to I
> ensure that a Help button is on the RHS of the menu bar, as is usual in
> many applications? In other words, if I have two pulldown menus on the
> menu bar, File and Help, how do I make sure File is left-justified, and
> Help is right-justified? BTW, I am using an IDL version prior to 4.0.1,
> so I cannot use the ALIGN_LEFT, etc keywords. Thanks.
For IDL 4.0 and later:
wHelpButton = WIDGET_BUTTON(wMBar, /MENU, /HELP)
Note that this may not do anything under certain window managers
including the Mac.
For IDL 3.6.1 and before, you are out of luck.
Ken Knighton knighton@gav.gat.com knighton@cts.com
Fusion Divsion
General Atomics
San Diego, CA
|
|
|