All pastes #344659 Raw Edit

Stuff

public text v1 · immutable
·published 2007-02-07 22:15 UTC
rendered paste body
public ProductListView() {
	Stetic.Gui.Build(this, typeof(InvoiceSharp.ProductListView));
	productsView.Model = new Gtk.ListStore(typeof(string), typeof(int), typeof(double));
	productsView.AppendColumn("Produkt", new Gtk.CellRendererText());
	productsView.AppendColumn("Ilość", new Gtk.CellRendererSpin());
	Gtk.CellRendererSpin s = new Gtk.CellRendererSpin();
	s.Digits=2;
	productsView.AppendColumn("Cena", s);
	(productsView.Model as Gtk.ListStore).AppendValues("abc", 5, 2.03);
}