Hi ,
I have defined the following RadioBoxCtrl  class as follow,when I call  radiobox_set or radiobox_get , it returns nothing for me ,if I change the  variable _rbinfo to public I can get and set this variable directly ,but I prefer to access it by get and set methods . Please help me where I am wrong .

::itcl::class RadioBoxCtrl {
 #Class constructor /destructor
 #Class Methods
 #Accessor Methods
  public method radiobox_set { choice_ } { set $_rbinfo(current) $choice_    }
  public method radiobox_get { } {return $_rbinfo(current)}

 #Class Data Members
  private variable _rbinfo