parameters: (self, idx, widget, sobject)
docstring: process each widget in the CustomInfoInputWdg
docstring_summary: process each widget in the CustomInfoInputWdg
docstring_tokens: process each widget in the CustomInfoInputWdg
function: def process_widget(self, idx, widget, sobject):
          ''' process each widget in the CustomInfoInputWdg''' 
          if not self.day_list:
              return
          
          today = Date()
          month, day, time = self.day_list[idx]
          if time > today.get_struct_time():
              widget.set_attr('readonly', 'readonly') 
              widget.add_class('disabled')
function_tokens: def process_widget ( self , idx , widget , sobject ) : if not self . day_list : return today = Date ( ) month , day , time = self . day_list [ idx ] if time > today . get_struct_time ( ) : widget . set_attr ( 'readonly' , 'readonly' ) widget . add_class ( 'disabled' )