public override bool LaunchConfiguration() { PosterizeDialog dialog = new PosterizeDialog (); int response = dialog.Run (); if (response == (int)Gtk.ResponseType.Ok) { red = dialog.Red; green = dialog.Green; blue = dialog.Blue; dialog.Destroy (); return true; } dialog.Destroy (); return false; }
public override bool LaunchConfiguration() { var dialog = new PosterizeDialog (); dialog.Title = Text; dialog.Icon = PintaCore.Resources.GetIcon (Icon); dialog.EffectData = Data; int response = dialog.Run (); dialog.Destroy (); return (response == (int)Gtk.ResponseType.Ok); }