Creates the radio buttons for counter selection, and sets
        up the progress bar.
        
        @param names is an iterable of strings for the names of counters.
        @param max_value is the maximum value used to set the progress bar.

        This method is called by controllers, when connected model is
        available.

def setup_content(self, names, max_value):
        """Creates the radio buttons for counter selection, and sets
        up the progress bar.
        
        @param names is an iterable of strings for the names of counters.
        @param max_value is the maximum value used to set the progress bar.

        This method is called by controllers, when connected model is
        available.
        """

        # radio buttons
        box = self['vbox_rb']
        group = None        
        for name in names:
            if 'rb_'+name in self: continue # skip already created names
            
            rb = gtk.RadioButton(group, name)
            self['rb_'+name] = rb
            rb.set_visible(True)
            box.pack_start(rb, expand=False)
            group = group or rb
            pass

        # progress bar:
        self['adjustment_counter'].set_upper(max_value)
        return