Ejemplo n.º 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();
 }
Ejemplo n.º 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 ();
 }