Dear Melinda,
TGTextButton InheritsFrom TGWidget,
so:
TGTextButton *tb = ....
Int_t <http://root.cern.ch/root/html/ListOfTypes.html#Int_t> id =
tb->WidgetId
<http://root.cern.ch/root/html/TGWidget.html#TGWidget:WidgetId>()
Cheers
Otto
Melinda Siciliano wrote:
> Dear all,
>
> I would like to know If there is a function that returns the id of a
> TGTextButton. I tried to check in the online documentation, but I
> haven't seen any function useful for this purpose.
>
> Thanks,
>
> Melinda
-- Dr. Otto Schaile Department f"ur Physik, LMU M"unchen Phone: +49 89 289 14070 Am Coulombwall 1, D-85748 Garching, Germany Mobil: +49 160 1553598 FAX: +49 89 289 14072 EMail: Otto.Schaile_at_Physik.Uni-Muenchen.DEReceived on Mon Jul 07 2008 - 18:25:25 CEST
This archive was generated by hypermail 2.2.0 : Tue Jul 08 2008 - 23:50:02 CEST