Sie suchten nach: allocating (Griechisch - Englisch)

Menschliche Beiträge

Von professionellen Übersetzern, Unternehmen, Websites und kostenlos verfügbaren Übersetzungsdatenbanken.

Übersetzung hinzufügen

Griechisch

Englisch

Info

Griechisch

we perform our tasks in a goal-oriented manner , allocating our resources in an optimal way through cost-awareness and prioritisation .

Englisch

we perform our tasks in a goal-oriented manner , allocating our resources in an optimal way through cost-awareness and prioritisation .

Letzte Aktualisierung: 2011-10-23
Nutzungshäufigkeit: 1
Qualität:

Griechisch

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)·}

Englisch

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);}

Letzte Aktualisierung: 2020-04-20
Nutzungshäufigkeit: 1
Qualität:

Warnung: Enthält unsichtbare HTML-Formatierung

Eine bessere Übersetzung mit
8,924,763,824 menschlichen Beiträgen

Benutzer bitten jetzt um Hilfe:



Wir verwenden Cookies zur Verbesserung Ihrer Erfahrung. Wenn Sie den Besuch dieser Website fortsetzen, erklären Sie sich mit der Verwendung von Cookies einverstanden. Erfahren Sie mehr. OK