def _init_ui(self): """ Puts together the user interface. """ self.input_frame = Input(self) self.input_frame.pack() button_ok = Button(self, text="Ping", command=self._go) button_ok.pack() self.result_frame = Result(self) self.result_frame.pack()