def createScreen(self): self.vbox = gtk.VBox(spacing=5) label = gtk.Label(_("Please set the date and time for the system.")) label.set_line_wrap(True) label.set_alignment(0.0, 0.5) label.set_size_request(500, -1) self.vbox.pack_start(label, False, True, padding=20) self.scd = scdMainWindow(firstboot=True, showPages=["datetime"]) self.vbox.pack_start(self.scd.firstboot_widget(), False, False)
def useGuiMode(page): import scdMainWindow scdMainWindow.scdMainWindow(page).stand_alone()