(self)
return frame, others
Return (frame, others) for testing.

        Others is a list of value, label pairs.
        A gridded frame from make_frame is filled with radio buttons.
Return (frame, others) for testing.
Return ( frame others ) for testing .
def create_other_buttons(self):
        '''Return (frame, others) for testing.

        Others is a list of value, label pairs.
        A gridded frame from make_frame is filled with radio buttons.
        '''
        frame = self.make_frame("Direction")[0]
        var = self.engine.backvar
        others = [(1, 'Up'), (0, 'Down')]
        for val, label in others:
            btn = Radiobutton(frame, variable=var, value=val, text=label)
            btn.pack(side="left", fill="both")
        return frame, others
def create_other_buttons ( self ) : frame = self . make_frame ( "Direction" ) [ 0 ] var = self . engine . backvar others = [ ( 1 , 'Up' ) , ( 0 , 'Down' ) ] for val , label in others : btn = Radiobutton ( frame , variable = var , value = val , text = label ) btn . pack ( side = "left" , fill = "both" ) return frame , others