Re: [ROOT] histos restrictions

From: Lukasz Slusarczyk (lucasso@ds2.uw.edu.pl)
Date: Thu Nov 27 2003 - 22:26:35 MET


> Use TPad::SetEditable(kFALSE)

  Great, but sometimes my thread (the one responsible for updating)
tries to update histogram, and then I must for a one short period do
SetEditable(kTRUE), because it is probably impossible to draw histogram on
canvas which is not editable. And during this time when I click canvas it
causes Segmentation Fault.

  This period is in my case not small enought. Is there any other way to 
avoid this problem (maybe mutex or something...)? Could You suggest me 
something?

-- 
Łukasz Ślusarczyk
 http://rainbow.mimuw.edu.pl/~lucasso/
 http://508.ds2.uw.edu.pl



This archive was generated by hypermail 2b29 : Thu Jan 01 2004 - 17:50:17 MET