Esempio n. 1
0
		public GroupView () : base (false, 0)
		{
			categories = new Hashtable ();
			tileSizeGroup = new Gtk.SizeGroup (Gtk.SizeGroupMode.Both);			

			foreach (TileGroupInfo info in Utils.GroupInfo) {
				Category box = null;
								
				if (info.Group == TileGroup.Conversations)
					box = new ListCategory (info);
				else
					box = new TileCategory (info, tileSizeGroup);

				box.NoShowAll = true;
				box.CategoryToggle += OnCategoryToggle;
				PackStart (box, false, false, 0);

				categories [info.Group] = box;
			}

			maxHeight = new int[Children.Length];
			displayHeight = new int[Children.Length];
		}