Inheritance: Gtk.Dialog, IDisposable
		public static Gtk.Window Show (Gtk.Window parent)
		{
			
			Gtk.Builder builder = new Gtk.Builder (null, "Mono.Addins.GuiGtk3.interfaces.AddinManagerDialog.ui", null);
			AddinManagerDialog dlg = new AddinManagerDialog (builder, builder.GetObject ("AddinManagerDialog").Handle);
			InitDialog (dlg);
			parent.Add (dlg);
			dlg.Show ();
			return dlg;
		}
示例#2
0
        public static Gtk.Window Show(Gtk.Window parent)
        {
            Gtk.Builder        builder = new Gtk.Builder(null, "Mono.Addins.GuiGtk3.interfaces.AddinManagerDialog.ui", null);
            AddinManagerDialog dlg     = new AddinManagerDialog(builder, builder.GetObject("AddinManagerDialog").Handle);

            InitDialog(dlg);
            parent.Add(dlg);
            dlg.Show();
            return(dlg);
        }
		public static void Run (Gtk.Window parent)
		{
			Gtk.Builder builder = new Gtk.Builder (null, "Mono.Addins.GuiGtk3.interfaces.AddinManagerDialog.ui", null);
			AddinManagerDialog dlg = new AddinManagerDialog (builder, builder.GetObject ("AddinManagerDialog").Handle);
			try {
				InitDialog (dlg);
				dlg.Run ();
			} finally {
				dlg.Destroy ();
			}
		}
示例#4
0
        public static void Run(Gtk.Window parent)
        {
            Gtk.Builder        builder = new Gtk.Builder(null, "Mono.Addins.GuiGtk3.interfaces.AddinManagerDialog.ui", null);
            AddinManagerDialog dlg     = new AddinManagerDialog(builder, builder.GetObject("AddinManagerDialog").Handle);

            try {
                InitDialog(dlg);
                dlg.Run();
            } finally {
                dlg.Destroy();
            }
        }
		private static void InitDialog (AddinManagerDialog dlg)
		{
			dlg.AllowInstall = AllowInstall;
		}
示例#6
0
 private static void InitDialog(AddinManagerDialog dlg)
 {
     dlg.AllowInstall = AllowInstall;
 }