Beispiel #1
0
 public void GetRequiredPosition(Mono.TextEditor.TextEditor editor, Gtk.Window tipWindow, out int requiredWidth, out double xalign)
 {
     Mono.TextEditor.PopupWindow.TooltipWindow win = (Mono.TextEditor.PopupWindow.TooltipWindow)tipWindow;
     requiredWidth = win.SetMaxWidth(win.Screen.Width);
     xalign        = 0.5;
 }
Beispiel #2
0
 public Gtk.Window CreateTooltipWindow(Mono.TextEditor.TextEditor editor, int offset, Gdk.ModifierType modifierState, TooltipItem item)
 {
     Mono.TextEditor.PopupWindow.TooltipWindow window = new Mono.TextEditor.PopupWindow.TooltipWindow ();
     window.Markup = item.Item.ToString(); // Tooltip;
     return window;
 }
Beispiel #3
0
 public Gtk.Window CreateTooltipWindow(Mono.TextEditor.TextEditor editor, int offset, Gdk.ModifierType modifierState, TooltipItem item)
 {
     Mono.TextEditor.PopupWindow.TooltipWindow window = new Mono.TextEditor.PopupWindow.TooltipWindow();
     window.Markup = item.Item.ToString();             // Tooltip;
     return(window);
 }