public ListViewDialog ()
		{
			Title = "Xwt List View Box Dialog";
			Width = 500;
			Height = 400;

			var vbox = new VBox ();
			Content = vbox;

			listView = new ListView ();
			listView.HeadersVisible = false;
			vbox.PackStart (listView);

			listStore = new ListStore (dataField);
			listView.DataSource = listStore;

			cellView = new CustomCanvasCellView ();
			var column = new ListViewColumn ("test", cellView);
			listView.Columns.Add (column);

			AddItems ();
		}
Example #2
0
        public ListViewDialog()
        {
            Title  = "Xwt List View Box Dialog";
            Width  = 500;
            Height = 400;

            var vbox = new VBox();

            Content = vbox;

            listView = new ListView();
            listView.HeadersVisible = false;
            vbox.PackStart(listView);

            listStore           = new ListStore(dataField);
            listView.DataSource = listStore;

            cellView = new CustomCanvasCellView();
            var column = new ListViewColumn("test", cellView);

            listView.Columns.Add(column);

            AddItems();
        }