コード例 #1
0
		public ComboBoxEntryIListAdaptor(IList store)
			: base(IntPtr.Zero)
		{
			this._modelConfiguration.DataSource = store;
			_model = new TreeModelIListAdaptor(_modelConfiguration);

			string[] names = { "model" };
			GLib.Value[] vals =  { new GLib.Value(_model) };
			CreateNativeObject(names, vals);
			vals[0].Dispose();
		}
コード例 #2
0
        public ComboBoxEntryIListAdaptor(IList store)
            : base(IntPtr.Zero)
        {
            this._modelConfiguration.DataSource = store;
            _model = new TreeModelIListAdaptor(_modelConfiguration);

            string[]     names = { "model" };
            GLib.Value[] vals  = { new GLib.Value(_model) };
            CreateNativeObject(names, vals);
            vals[0].Dispose();
        }
コード例 #3
0
		public ComboBoxEntryIListAdaptor()
			: base()
		{
			Model = new TreeModelIListAdaptor(_modelConfiguration);
		}
コード例 #4
0
 public ComboBoxEntryIListAdaptor()
     : base()
 {
     Model = new TreeModelIListAdaptor(_modelConfiguration);
 }