public FilterEntry(FileSearchFilter filter) { this.filter = filter; tooltip = new FakeTooltip(this); this.FocusInEvent += this_FocusChangeEvent; this.FocusOutEvent += this_FocusChangeEvent; this.Changed += this_Changed; /* * ListStore store = new ListStore(typeof(string), typeof(string)); * store.AppendValues("(VGA)", "640x480"); * store.AppendValues("(SVGA)", "800x600"); * store.AppendValues("(720p)", "1280x720"); * store.AppendValues("(1080i)", "1920x1080"); * * CellRendererText textCell = new CellRendererText(); * * EntryCompletion completion = new EntryCompletion(); * completion.MinimumKeyLength = 0; * completion.PopupSingleMatch = true; * completion.PopupCompletion = true; * completion.TextColumn = 1; * completion.PackStart(textCell, true); * completion.AddAttribute(textCell, "text", 0); * completion.Model = store; * * this.Completion = completion; */ }
public FilterEntry(FileSearchFilter filter) { this.filter = filter; tooltip = new FakeTooltip(this); this.FocusInEvent += this_FocusChangeEvent; this.FocusOutEvent += this_FocusChangeEvent; this.Changed += this_Changed; /* ListStore store = new ListStore(typeof(string), typeof(string)); store.AppendValues("(VGA)", "640x480"); store.AppendValues("(SVGA)", "800x600"); store.AppendValues("(720p)", "1280x720"); store.AppendValues("(1080i)", "1920x1080"); CellRendererText textCell = new CellRendererText(); EntryCompletion completion = new EntryCompletion(); completion.MinimumKeyLength = 0; completion.PopupSingleMatch = true; completion.PopupCompletion = true; completion.TextColumn = 1; completion.PackStart(textCell, true); completion.AddAttribute(textCell, "text", 0); completion.Model = store; this.Completion = completion; */ }