Re: GTK & ROOT

From: federico roncarolo <Federico.Roncarolo_at_cern.ch>
Date: Tue, 24 Nov 2009 12:23:55 +0100


Hi,

thanks. But then I don't understand how, with pyROOT I can follow the hints at

http://root.cern.ch/root/Version51000.news.html Under: "Embedding ROOT in External Applications"

for embedding a TCanvas in a gtk widget... Could you give me a very simple example? Best Regards,
Federico

On Nov 23, 2009, at 7:35 PM, <WLavrijsen_at_lbl.gov> <WLavrijsen_at_lbl.gov> wrote:

> Hi,
>
> there's no need to create a TApplication when using PyROOT, as one is
> created already (the class is TPyROOTApplication, which is derived
> from
> TApplication) and it is given the sys.argv as arguments.
>
> Best regards,
> Wim
> --
> WLavrijsen_at_lbl.gov -- +1 (510) 486 6411 -- www.lavrijsen.net
Received on Tue Nov 24 2009 - 12:24:00 CET

This archive was generated by hypermail 2.2.0 : Tue Nov 24 2009 - 23:50:01 CET