Inheritance: FilterTreeViewBase
        void AddFilters()
        {
            ScrolledWindow s1 = new ScrolledWindow();
            ScrolledWindow s2 = new ScrolledWindow();

            playersfilter    = new PlayersFilterTreeView();
            categoriesfilter = new CategoriesFilterTreeView();

            s1.Add(categoriesfilter);
            s2.Add(playersfilter);
            filtersnotebook.AppendPage(s1, new Gtk.Label(Catalog.GetString("Categories filter")));
            filtersnotebook.AppendPage(s2, new Gtk.Label(Catalog.GetString("Players filter")));
            filtersnotebook.ShowAll();
        }
Beispiel #2
0
        void AddFilters()
        {
            Label          l;
            ScrolledWindow s1 = new ScrolledWindow();
            ScrolledWindow s2 = new ScrolledWindow();

            playersfilter    = new PlayersFilterTreeView();
            categoriesfilter = new CategoriesFilterTreeView();

            s1.Add(categoriesfilter);
            s2.Add(playersfilter);
            l = new Gtk.Label(Catalog.GetString("Categories filter"));
            l.HeightRequest = StyleConf.PlayerCapturerControlsHeight;
            filtersnotebook.AppendPage(s1, l);
            l = new Gtk.Label(Catalog.GetString("Players filter"));
            l.HeightRequest = StyleConf.PlayerCapturerControlsHeight;
            filtersnotebook.AppendPage(s2, l);
            filtersnotebook.ShowAll();
        }
        void AddFilters()
        {
            Label l;
            ScrolledWindow s1 = new ScrolledWindow ();
            ScrolledWindow s2 = new ScrolledWindow ();

            playersfilter = new PlayersFilterTreeView ();
            categoriesfilter = new CategoriesFilterTreeView ();

            s1.Add (categoriesfilter);
            s2.Add (playersfilter);
            l = new Gtk.Label (Catalog.GetString ("Categories filter"));
            l.HeightRequest = StyleConf.PlayerCapturerControlsHeight;
            filtersnotebook.AppendPage (s1, l);
            l = new Gtk.Label (Catalog.GetString ("Players filter"));
            l.HeightRequest = StyleConf.PlayerCapturerControlsHeight;
            filtersnotebook.AppendPage (s2, l);
            filtersnotebook.ShowAll ();
        }