Re: [ROOT] Windows Graphics/GUI - RE: More on Graphics abstraction (was Re: [ROOT] Qt ROOT)

From: Rene Brun (Rene.Brun@cern.ch)
Date: Fri Oct 26 2001 - 14:36:42 MEST


Hi Brett,

Could you explain me how you will handle the case of a batch program producing
just a PS file ?

Rene Brun

Brett Viren wrote:
> 
> Christian Holm Christensen writes:
>  > On a side note: I find it intresting that the Win32 port of the ROOT
>  > GUI uses GDK.  That means, that you could have a (back) port to Un*x
>  > using GDK as well, I guess. And that, I presume, is not far from a
>  > Gtk-- port (my low-level apporach again :-).  Brett, perhaps thats the
>  > way you want to go?
> 
> When I heard Bertrand's talk at root2001, I was very interested to
> learn his work was based on GDK (this world is an ironic place).
> 
> However, I'm not sure this really matters from the point of view of
> using Gtk-- (or Qt) to write GUI code with ROOT.  One would still need
> to integrate TCanvas, the context menu and some other things in order
> to get a TCanvas on a Gtk::Widget (or QWidget).  Maybe issues related
> to ROOT's main event would be easier, but this is one area I am still
> in the dark about.  Currently, with GtkROOT you must give the main
> loop to Gtk, thus no ROOT prompt is possible.  I look forward to see
> how QtROOT handles this.
> 
> Hmm, just had a thought (rare for me).  Maybe a better approach might
> be to not use TCanvas at all, but implement a TCanvas with
> Gnome::Canvas from Gnome-- (or QCanvas from Qt).  Anyone have comments
> about this?
> 
> -Brett.



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