Наследование: Gtk.Dialog, IDisposable
Пример #1
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;
		}
Пример #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);
        }
Пример #3
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 ();
			}
		}
Пример #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();
            }
        }
Пример #5
0
		private static void InitDialog (AddinManagerDialog dlg)
		{
			dlg.AllowInstall = AllowInstall;
		}
Пример #6
0
 private static void InitDialog(AddinManagerDialog dlg)
 {
     dlg.AllowInstall = AllowInstall;
 }