Two Marker Styles and SetMarkerAttributes

From: Thomas Bretz <>
Date: Thu, 28 Jul 2005 16:42:21 +0200

Dear all,

I have a class which contains two TAttMarkerStyle for two different purposes. I thought, I could add both to the context menu by:

class A : public TAttLine
TAttMarker m1;
TAttMarker m2;
void SetAtt1() { m1.SetMarkerAttributes; } //*MENU* void SetAtt2() { m2.SetMarkerAttributes; } //*MENU* }
But using the corresponding menu entries in the context menu I always get the SetLineAttributes() menu...

You can reproduce it in the interpreter by: new TCanvas;
TAttMarker m;

--> You get the SetPadAttributes() menu.

I'm using root 4.04/02.

Can somebody help me?

Thanks in advance,
Thomas. Received on Thu Jul 28 2005 - 17:16:26 MEST

This archive was generated by hypermail 2.2.0 : Tue Jan 02 2007 - 14:45:11 MET