[ROOT] Adding Separators in TControlBar

From: Chris Milne (phycm@phy.hw.ac.uk)
Date: Mon Aug 13 2001 - 17:18:00 MEST


Hi there,

can anyone figure out why AddSeparator() isn't working in the following code?

  bar = new TControlBar("vertical", "Controls",750,10);
  bar->AddButton("Print HH Bleaching","Print_HH_blea()", "Click Here To Print The Heavy Hole Bleaching");
  bar->AddButton("Print LH Bleaching","Print_LH_blea()", "Click Here To Print The Light Hole Bleaching");
  bar->AddButton("Print HH Blueshift","Print_HH_blue()", "Click Here To Print The Heavy Hole Blueshift");
  bar->AddButton("Print LH Blueshift","Print_LH_blue()", "Click Here To Print The Light Hole Blueshift");
  bar->AddButton("Print Time v Absorption","Print_time_abs()", "Click Here To Print The Time v Absorption Slice");
  bar->AddButton("Print Energy v Absorption","Print_energy_abs()", "Click Here To Print The Energy v Absorption Slice");
  bar->AddSeparator();
  bar->AddButton("Unzoom Energy axis","Unzoom_energy()", "Unzoom The Energy Axis Of The Contour Plot And Slice");
  bar->AddButton("Unzoom Time axis","Unzoom_time()", "Unzoom The Time Axis Of The Contour Plot And Slice");
  bar->AddSeparator();
  bar->AddButton("Display Blueshift and Bleaching","blue_blea->Show()", "Click To Display Blueshift and Bleaching");
  bar->Show();



This archive was generated by hypermail 2b29 : Tue Jan 01 2002 - 17:50:57 MET