Hi,
IsModified() is a query, I think a better way would be to change
TPad.h from
void Modified(Bool_t flag=1) { fModified = flag; }
to
void Modified(Bool_t flag=1) { // *SIGNAL*
if (!fModified && flag) Emit("Modified()");
fModified = flag;
}
-Brett.
Frederic Sarazin writes:
> Dear ROOTers,
>
> I was wondering what would be the best SIGNAL that could be send by QtRoot
> to say that the current Pad has been changed or something new happened in
> the
> current pad (the purpose is to retrieve the informations of the histograms
> contained
> in this current Pad).
>
> I was thinking of gPad->IsModified()... however, in the QtRoot Version that
> I have
> (downloaded from the GSI-Go4 website), there is no signal avalaible from the
> class
> TQRootCanvas except Destroy().
> Is there any version of QtRoot that are more advanced and would have the
> feature
> I'm looking for ?
>
> Thanks for your continuous help, it is very much appreciated.
>
> Fred (TRIUMF)
>
>
This archive was generated by hypermail 2b29 : Sat Jan 04 2003 - 23:50:45 MET