[Vala] question



*As is done in vala?*

        scroll = self.get_parent()
        notebook = scroll.get_parent()
        paginas = notebook.get_n_pages()

        for indice in range(paginas):
            page = notebook.get_children()[indice]
            if page == scroll:
                pag = notebook.get_children()[indice]
                label = notebook.get_tab_label(pag).get_children()[0]
                label.set_text(nombre)
                break


[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]