예제 #1
0
 void InsertFilterEntry()
 {
     filterEntry = new SearchEntry();
     filterEntry.Entry.SetSizeRequest(200, filterEntry.Entry.SizeRequest().Height);
     filterEntry.Show();
     notebook.SizeAllocated += delegate {
         RepositionFilter();
     };
     filterEntry.TextChanged += delegate {
         tree.SetFilter(filterEntry.Text);
         galleryTree.SetFilter(filterEntry.Text);
         updatesTree.SetFilter(filterEntry.Text);
         LoadAll();
         addinTree.ExpandAll();
         galleryTreeView.ExpandAll();
     };
     RepositionFilter();
 }
예제 #2
0
 void InsertFilterEntry()
 {
     filterEntry = new SearchEntry ();
     filterEntry.Entry.SetSizeRequest (200, filterEntry.Entry.SizeRequest ().Height);
     filterEntry.Parent = notebook;
     filterEntry.Show ();
     notebook.SizeAllocated += delegate {
         RepositionFilter ();
     };
     filterEntry.TextChanged += delegate {
         tree.SetFilter (filterEntry.Text);
         galleryTree.SetFilter (filterEntry.Text);
         updatesTree.SetFilter (filterEntry.Text);
         LoadAll ();
         addinTree.ExpandAll ();
         galleryTreeView.ExpandAll ();
     };
     RepositionFilter ();
 }