Hi Patrick, look how it is done for TCanvas (in its GUI companion class TRootCanvas). See: http://root.cern.ch/root/html/src/TRootCanvas.cxx.html Cheers, Fons. On Wed, May 10, 2000 at 12:26:32AM +0200, Patrick Dupre LCMI wrote: > Hello, > > By using a TCanvas, you get a Menubar with a menubar including File Edit etc... > I use a TGMainFrame in which a put a MenuBar and a TGCanvas, I would like > to have the same behavior (or similar) MenuBar as the one included in the > File Menu of a TCanvas (ie. Save as, Save as ...ps, Save as ....eps etc), > How can I have this ? The right qustion could be: with class is called when > I make the "Save as ...ps" in a TCanvas ? > > Thank. > -- > --- > ============================================================================== > Patrick DUPRE | | Tel: (33 4) 76-88-78-51 > CNRS/LCMI (GHMFL) | | Fax: (33 4) 76-85-56-10 > 25 Rue des Martyrs, BP 166 | | http://eschyle.polycnrs-gre.fr > F-38042 GRENOBLE Cedex 09 | | email: pdupre@polycnrs-gre.fr > ============================================================================== -- Org: CERN, European Laboratory for Particle Physics. Mail: 1211 Geneve 23, Switzerland E-Mail: Fons.Rademakers@cern.ch Phone: +41 22 7679248 WWW: http://root.cern.ch/~rdm/ Fax: +41 22 7677910
This archive was generated by hypermail 2b29 : Tue Jan 02 2001 - 11:50:24 MET