public static void Show (ObjectValue val, Control widget, Gdk.Rectangle previewButtonArea) { DestroyWindow (); wnd = new PreviewVisualizerWindow (val, widget); wnd.ShowPopup (widget, previewButtonArea, PopupPosition.Left); wnd.Destroyed += HandleDestroyed; OnWindowShown (EventArgs.Empty); }
public static void Show(ObjectValue val, Control widget, Gdk.Rectangle previewButtonArea) { DestroyWindow(); wnd = new PreviewVisualizerWindow(val, widget); wnd.ShowPopup(widget, previewButtonArea, PopupPosition.Left); wnd.Destroyed += HandleDestroyed; OnWindowShown(EventArgs.Empty); }
public static void Show(ObjectValue val, Control widget, Gdk.Rectangle previewButtonArea) { DestroyWindow(); wnd = new PreviewVisualizerWindow(val, widget); IdeApp.CommandService.RegisterTopWindow(wnd); wnd.ShowPopup(widget, previewButtonArea, PopupPosition.Left); wnd.FocusOutEvent += HandleFocusOutEvent; wnd.Destroyed += HandleDestroyed; OnWindowShown(EventArgs.Empty); }