Da traduttori professionisti, imprese, pagine web e archivi di traduzione disponibili gratuitamente al pubblico.
he belongs to the top-100 group of the worldwide most-cited chemists and holds numerous honorary phd´s from europe, usa, russia and china.
he belongs to the top-100 group of the worldwide most-cited chemists and holds numerous honorary phds from europe, usa, russia and china.
Ultimo aggiornamento 2017-04-26
Frequenza di utilizzo: 1
Qualità:
from gi.repository import gtkimport sys# a gtk applicationwindowclass mywindow(gtk.applicationwindow): # constructor: the title is \"welcome to gnome\" and the window belongs # to the application app def __init__(self, app): gtk.window.__init__(self, title=\"welcome to gnome\", application=app)class myapplication(gtk.application): # constructor of the gtk application def __init__(self): gtk.application.__init__(self) # create and activate a mywindow, with self (the myapplication) as # application the window belongs to. # note that the function in c activate() becomes do_activate() in python def do_activate(self): win = mywindow(self) # show the window and all its content # this line could go in the constructor of mywindow as well win.show_all() # start up the application # note that the function in c startup() becomes do_startup() in python def do_startup(self): gtk.application.do_startup(self)# create and run the application, exit with the value returned by# running the programapp = myapplication()exit_status = app.run(sys.argv)sys.exit(exit_status)
from gi.repository import gtkimport sys# a gtk applicationwindowclass mywindow(gtk.applicationwindow): # constructor: the title is \"welcome to gnome\" and the window belongs # to the application app def __init__(self, app): gtk.window.__init__(self, title=\"welcome to gnome\", application=app)class myapplication(gtk.application): # constructor of the gtk application def __init__(self): gtk.application.__init__(self) # create and activate a mywindow, with self (the myapplication) as # application the window belongs to. # note that the function in c activate() becomes do_activate() in python def do_activate(self): win = mywindow(self) # show the window and all its content # this line could go in the constructor of mywindow as well win.show_all() # start up the application # note that the function in c startup() becomes do_startup() in python def do_startup(self): gtk.application.do_startup(self)# create and run the application, exit with the value returned by# running the programapp = myapplication()exit_status = app.run(sys.argv)sys.exit(exit_status)
Ultimo aggiornamento 2020-04-20
Frequenza di utilizzo: 1
Qualità:
Attenzione: contiene formattazione HTML nascosta
Alcuni contributi umani con scarsa rilevanza sono stati nascosti.
Mostra i risultati con scarsa rilevanza.