TGNumberEntry constructor argument id

What is the TGNumberEntry constructor argument “Int_t id”? What is this used for?

Hi,

This is the widget id, used to identify it when processing GUI messages (via SendMessage/ProcessMessage)

Cheers, Bertrand.