Back Midas Rome Roody Rootana
  Root Display GUI  Not logged in ELOG logo
Entry  08 Apr 2004, Joe, , context menu progress with TTriumfFileGUI 
    Reply  07 May 2004, Konstantin, , context menu progress with TTriumfFileGUI 
       Reply  07 May 2004, Konstantin, , context menu progress with TTriumfFileGUI 
       Reply  07 May 2004, Konstantin, , context menu progress with TTriumfFileGUI 
          Reply  07 May 2004, Konstantin, , context menu progress with TTriumfFileGUI 
Message ID: 46     Entry time: 07 May 2004     In reply to: 44     Reply to this: 47
Author: Konstantin 
Topic:  
Subject: context menu progress with TTriumfFileGUI 
> > There are still problems to overcome:
> > - the PeakFind panel needs to communicate back to the gui that it has been
> deleted (to overcome a segmentation violation error when the pointer is deleted
> a second time);

Fixed. The peak finder is created once, never destroyed. Window is opened and
closed as needed.

> > - multiple PeakFind menu items appear when the canvas is split into multiple
> pads (even though it is not added if already in the menu???);

Fixed. "PeakFind" menu item is added once in the viewer constructor.

> > - still no way found to get a context menu for the folder icons (Files,
> Online, Groups);

I am looking into it.

In the mean time, I copied&kludged code from TGFrame.cxx to make the popup menu pop
at the pointer position.

Also if histogram is plotted from context menu, the "plot in" menu setting is left
unchanged.

The other problem is multiple selection of histograms. Looking into it.

K.O.
ELOG V3.1.4-2e1708b5