[Vala] question
- From: Flavio Danesse <fdanesse gmail com>
- To: vala-list <vala-list gnome org>
- Subject: [Vala] question
- Date: Sat, 17 Jan 2015 15:56:36 -0200
*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]