From professional translators, enterprises, web pages and freely available translation repositories.
0 former managing director of ervet, member of the board of directors of citer and vicechairman of the federation of cooperatives of modena.
0 Στέλεχος σε εθνικό επίπεδο του κόμματος patto segni.
Last Update: 2014-02-06
Usage Frequency: 2
Quality:
for example, the citer project (creation of a european history textbook repository) aims at the creation of a digital european history textbook base, with the focus on secondary education.
το έργο citer (creation of a european history textbook repository, δημιουργία θησαυρού διδακτικών κειμένων ευρωπαϊκής ιστορίας) στοχεύει στη δημιουργία ψηφιακής βάσης για διδακτικά βιβλία ευρωπαϊκής ιστορίας, η οποία θα εστιάζεται στη δευτεροβάθμια εκπαίδευση.
Last Update: 2017-04-06
Usage Frequency: 1
Quality:
the citer centre has made it possible for a large proportion of enterprises in the district to produce ready-to-wear knitwear, minimizing the time between new fashion styles and the production of the product by enterprises in the district.
Η παρουσία αυτή του citer επέτρεψε σε ένα σημιαντικό μέρος των επιχειρήσεων της περιοχής να επιτύχει το prontomoda, ελαχιστοποιώντας το χρόνο μεταξύ της επιλογής ενός συγκεκριμιένου τύπου μιόδας και της παραγωγής των προϊόντων από τις επιχειρήσεις της περιοχής.
Last Update: 2014-02-06
Usage Frequency: 2
Quality:
from gi.repository import gtkfrom gi.repository import pangoimport sysbooks = [[\"tolstoy, leo\", [\"war and peace\", true], [\"anna karenina\", false]], [\"shakespeare, william\", [\"hamlet\", false], [\"macbeth\", true], [\"othello\", false]], [\"tolkien, j.r.r.\", [\"the lord of the rings\", false]]]class mywindow(gtk.applicationwindow): def __init__(self, app): gtk.window.__init__(self, title=\"library\", application=app) self.set_default_size(250, 100) self.set_border_width(10) # the data are stored in the model # create a treestore with two columns self.store = gtk.treestore(str, bool) # fill in the model for i in range(len(books)): # the iter piter is returned when appending the author in the first column # and false in the second piter = self.store.append(none, [books[i][0], false]) # append the books and the associated boolean value as children of # the author j = 1 while j < len(books[i]): self.store.append(piter, books[i][j]) j += 1 # the treeview shows the model # create a treeview on the model self.store view = gtk.treeview() view.set_model(self.store) # the cellrenderer for the first column - text renderer_books = gtk.cellrenderertext() # the first column is created column_books = gtk.treeviewcolumn(\"books\", renderer_books, text=0) # and it is appended to the treeview view.append_column(column_books) # the cellrenderer for the second column - boolean rendered as a toggle renderer_in_out = gtk.cellrenderertoggle() # the second column is created column_in_out = gtk.treeviewcolumn(\"out?\", renderer_in_out, active=1) # and it is appended to the treeview view.append_column(column_in_out) # connect the cellrenderertoggle with a callback function renderer_in_out.connect(\"toggled\", self.on_toggled) # add the treeview to the window self.add(view) # callback function for the signal emitted by the cellrenderertoggle def on_toggled(self, widget, path): # the boolean value of the selected row current_value = self.store[path][1] # change the boolean value of the selected row in the model self.store[path][1] = not current_value # new current value! current_value = not current_value # if length of the path is 1 (that is, if we are selecting an author) if len(path) == 1: # get the iter associated with the path piter = self.store.get_iter(path) # get the iter associated with its first child citer = self.store.iter_children(piter) # while there are children, change the state of their boolean value # to the value of the author while citer is not none: self.store[citer][1] = current_value citer = self.store.iter_next(citer) # if the length of the path is not 1 (that is, if we are selecting a # book) elif len(path) != 1: # get the first child of the parent of the book (the first book of # the author) citer = self.store.get_iter(path) piter = self.store.iter_parent(citer) citer = self.store.iter_children(piter) # check if all the children are selected all_selected = true while citer is not none: if self.store[citer][1] == false: all_selected = false break citer = self.store.iter_next(citer) # if they do, the author as well is selected; otherwise it is not self.store[piter][1] = all_selectedclass myapplication(gtk.application): def __init__(self): gtk.application.__init__(self) def do_activate(self): win = mywindow(self) win.show_all() def do_startup(self): gtk.application.do_startup(self)app = myapplication()exit_status = app.run(sys.argv)sys.exit(exit_status)
from gi.repository import gtkfrom gi.repository import pangoimport sysbooks = [[\"tolstoy, leo\", [\"war and peace\", true], [\"anna karenina\", false]], [\"shakespeare, william\", [\"hamlet\", false], [\"macbeth\", true], [\"othello\", false]], [\"tolkien, j.r.r.\", [\"the lord of the rings\", false]]]class mywindow(gtk.applicationwindow): def __init__(self, app): gtk.window.__init__(self, title=\"library\", application=app) self.set_default_size(250, 100) self.set_border_width(10) # the data are stored in the model # create a treestore with two columns self.store = gtk.treestore(str, bool) # fill in the model for i in range(len(books)): # the iter piter is returned when appending the author in the first column # and false in the second piter = self.store.append(none, [books[i][0], false]) # append the books and the associated boolean value as children of # the author j = 1 while j < len(books[i]): self.store.append(piter, books[i][j]) j += 1 # the treeview shows the model # create a treeview on the model self.store view = gtk.treeview() view.set_model(self.store) # the cellrenderer for the first column - text renderer_books = gtk.cellrenderertext() # the first column is created column_books = gtk.treeviewcolumn(\"books\", renderer_books, text=0) # and it is appended to the treeview view.append_column(column_books) # the cellrenderer for the second column - boolean rendered as a toggle renderer_in_out = gtk.cellrenderertoggle() # the second column is created column_in_out = gtk.treeviewcolumn(\"out?\", renderer_in_out, active=1) # and it is appended to the treeview view.append_column(column_in_out) # connect the cellrenderertoggle with a callback function renderer_in_out.connect(\"toggled\", self.on_toggled) # add the treeview to the window self.add(view) # callback function for the signal emitted by the cellrenderertoggle def on_toggled(self, widget, path): # the boolean value of the selected row current_value = self.store[path][1] # change the boolean value of the selected row in the model self.store[path][1] = not current_value # new current value! current_value = not current_value # if length of the path is 1 (that is, if we are selecting an author) if len(path) == 1: # get the iter associated with the path piter = self.store.get_iter(path) # get the iter associated with its first child citer = self.store.iter_children(piter) # while there are children, change the state of their boolean value # to the value of the author while citer is not none: self.store[citer][1] = current_value citer = self.store.iter_next(citer) # if the length of the path is not 1 (that is, if we are selecting a # book) elif len(path) != 1: # get the first child of the parent of the book (the first book of # the author) citer = self.store.get_iter(path) piter = self.store.iter_parent(citer) citer = self.store.iter_children(piter) # check if all the children are selected all_selected = true while citer is not none: if self.store[citer][1] == false: all_selected = false break citer = self.store.iter_next(citer) # if they do, the author as well is selected; otherwise it is not self.store[piter][1] = all_selectedclass myapplication(gtk.application): def __init__(self): gtk.application.__init__(self) def do_activate(self): win = mywindow(self) win.show_all() def do_startup(self): gtk.application.do_startup(self)app = myapplication()exit_status = app.run(sys.argv)sys.exit(exit_status)
Last Update: 2020-04-20
Usage Frequency: 1
Quality:
Warning: Contains invisible HTML formatting