如何在MonoDevelop C#GTK +上创建仅显示FileChooserButton
个文件的.tar.gz
?
答案 0 :(得分:2)
public MainWindow () : base(Gtk.WindowType.Toplevel)
{
Build ();
FileFilter filter = new FileFilter();
filter.Name = "tar.gz files";
filter.AddPattern("*.tar.gz");
filechooserbutton1.AddFilter(filter);
}