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 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 (); } }
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; }
private static void InitDialog(AddinManagerDialog dlg) { dlg.AllowInstall = AllowInstall; }