Vous avez cherché: render (Grec - Anglais)

Grec

Traduction

render

Traduction

Anglais

Traduction
Traduction

Traduisez instantanément des textes, des documents et des voix avec Lara

Traduire maintenant

Contributions humaines

Réalisées par des traducteurs professionnels, des entreprises, des pages web ou traductions disponibles gratuitement.

Ajouter une traduction

Grec

Anglais

Infos

Grec

"render unto caesar: the flag-salute controversy.

Anglais

"render unto caesar: the flag-salute controversy.

Dernière mise à jour : 2016-03-03
Fréquence d'utilisation : 1
Qualité :

Avertissement : un formatage HTML invisible est présent

Grec

class mywindow : gtk.applicationwindow {string[] file = {\"select\", \"new\", \"open\", \"save\"}·string[] stock_item = {\"\",\"gtk-new\", \"gtk-open\", \"gtk-save\"}·enum column {file,stock_item}/* constructor */internal mywindow (myapplication app) {object (application: app, title: \"welcome to gnome\")·this.set_default_size (200, -1)·this.border_width = 10·gtk.liststore liststore = new gtk.liststore (2, typeof (string), typeof (string))·for (int i = 0· i < file.length· i++){gtk.treeiter iter·liststore.append (out iter)·liststore.set (iter, column.file, file[i])·liststore.set (iter, column.stock_item, stock_item[i])·}gtk.combobox combobox = new gtk.combobox.with_model (liststore)·/* cellrenderers render the data. */gtk.cellrenderertext cell = new gtk.cellrenderertext ()·gtk.cellrendererpixbuf cell_pb = new gtk.cellrendererpixbuf ()· /* we pack the cell into the beginning of the combobox, allocating * no more space than needed· * first the image, then the text· * note that it does not matter in which order they are in the model, * the visualization is decided by the order of the cellrenderers */combobox.pack_start (cell_pb, false)·combobox.pack_start (cell, false)·/* associate a property of the cellrenderer to a column in the model * used by the combobox */combobox.set_attributes (cell_pb, \"stock_id\", column.stock_item)·combobox.set_attributes (cell, \"text\", column.file)·/* set the first item in the list to be selected (active). */combobox.set_active (0)·/* connect the 'changed' signal of the combobox * to the signal handler (aka. callback function. */combobox.changed.connect (this.item_changed)·/* add the combobox to this window */this.add (combobox)·combobox.show ()·}void item_changed (gtk.combobox combo) {if (combo.get_active () !=0) {print (\"you chose \" + file [combo.get_active ()] +\"\\")·}}}class myapplication : gtk.application { protected override void activate () { new mywindow (this).show ()· }}int main (string[] args) {return new myapplication ().run (args)·}

Anglais

class mywindow : gtk.applicationwindow {string[] file = {\"select\", \"new\", \"open\", \"save\"};string[] stock_item = {\"\",\"gtk-new\", \"gtk-open\", \"gtk-save\"};enum column {file,stock_item}/* constructor */internal mywindow (myapplication app) {object (application: app, title: \"welcome to gnome\");this.set_default_size (200, -1);this.border_width = 10;gtk.liststore liststore = new gtk.liststore (2, typeof (string), typeof (string));for (int i = 0; i < file.length; i++){gtk.treeiter iter;liststore.append (out iter);liststore.set (iter, column.file, file[i]);liststore.set (iter, column.stock_item, stock_item[i]);}gtk.combobox combobox = new gtk.combobox.with_model (liststore);/* cellrenderers render the data. */gtk.cellrenderertext cell = new gtk.cellrenderertext ();gtk.cellrendererpixbuf cell_pb = new gtk.cellrendererpixbuf (); /* we pack the cell into the beginning of the combobox, allocating * no more space than needed; * first the image, then the text; * note that it does not matter in which order they are in the model, * the visualization is decided by the order of the cellrenderers */combobox.pack_start (cell_pb, false);combobox.pack_start (cell, false);/* associate a property of the cellrenderer to a column in the model * used by the combobox */combobox.set_attributes (cell_pb, \"stock_id\", column.stock_item);combobox.set_attributes (cell, \"text\", column.file);/* set the first item in the list to be selected (active). */combobox.set_active (0);/* connect the 'changed' signal of the combobox * to the signal handler (aka. callback function. */combobox.changed.connect (this.item_changed);/* add the combobox to this window */this.add (combobox);combobox.show ();}void item_changed (gtk.combobox combo) {if (combo.get_active () !=0) {print (\"you chose \" + file [combo.get_active ()] +\"\\");}}}class myapplication : gtk.application { protected override void activate () { new mywindow (this).show (); }}int main (string[] args) {return new myapplication ().run (args);}

Dernière mise à jour : 2020-04-20
Fréquence d'utilisation : 1
Qualité :

Avertissement : un formatage HTML invisible est présent

Obtenez une traduction de meilleure qualité grâce aux
10,290,122,920 contributions humaines

Les utilisateurs demandent maintenant de l'aide :



Nous utilisons des cookies pour améliorer votre expérience utilisateur sur notre site. En poursuivant votre navigation, vous déclarez accepter leur utilisation. En savoir plus. OK