Dynamic Menus [message #6692] |
Sat, 27 July 1996 00:00 |
troyr
Messages: 1 Registered: July 1996
|
Junior Member |
|
|
Hi,
I'm currently trying to implement Dynamic Menus with IDL's widget
set, at the moment without to much luck.
I'm using Cw_PDMenu, with Xmanager managing the menu and the rest
of the widgets.
I initaily tryied simply destroying the Menu widget, creating the
new menu and realising it. This kept resulting in Segementation
Faults.
Looking at Cw_PDMenu's source, it's seems that because I'm using
/MBAR keyword, the menu base created by the main application base,
is being destroyed. Because of this I can't see any way of recreating
the base used by Cw_PDMenu, without destroying every widget and re-
creating them from scratch.
Is this the only way of achiveing Dynamic Menus? I would have thought
there would be an easier way of doing this, but I could be mistaking.
Thanks for any advice,
Troy
PS . I'm running IDL 4.01 for Linux, if this helps.
|
|
|