Re: action in TControlBar

From: <WLavrijsen_at_lbl.gov>
Date: Thu, 9 Jul 2009 11:36:04 -0700


Alfio,

> cbar.AddButton( "All Variables" , "Action()" , "Plot all the variables" , "button" )

for that to work in python, there needs to be a layer in between to receive the call from C++ and dispatch it to python.

An example is here:

  $ROOTSYS/tutorials/pyroot/gui_ex.py

Best regards,

           Wim

-- 
WLavrijsen_at_lbl.gov    --    +1 (510) 486 6411    --    www.lavrijsen.net
Received on Thu Jul 09 2009 - 20:33:19 CEST

This archive was generated by hypermail 2.2.0 : Thu Jul 09 2009 - 23:50:02 CEST