public static bool PreProcessKeyEvent(Gdk.Key key, char keyChar, Gdk.ModifierType modifier) { if (!IsVisible) { return(false); } return(wnd.PreProcessKeyEvent(key, keyChar, modifier)); }
public static bool PreProcessKeyEvent(KeyDescriptor descriptor) { if (!IsVisible) { return(false); } return(wnd.PreProcessKeyEvent(descriptor)); }
public static bool PreProcessKeyEvent(Gdk.Key key, char keyChar, Gdk.ModifierType modifier, out KeyActions ka) { if (wnd == null /*|| !wnd.Visible*/) { ka = KeyActions.None; return(false); } return(wnd.PreProcessKeyEvent(key, keyChar, modifier, out ka)); }
public static bool PreProcessKeyEvent(KeyDescriptor descriptor) { if (!IsVisible) { return(false); } if (descriptor.KeyChar != '\0') { wnd.EndOffset = wnd.StartOffset + wnd.CurrentPartialWord.Length + 1; } return(wnd.PreProcessKeyEvent(descriptor)); }
public static bool PreProcessKeyEvent(Gdk.Key key, char keyChar, Gdk.ModifierType modifier) { if (!IsVisible) { return(false); } if (keyChar != '\0') { wnd.EndOffset = wnd.StartOffset + wnd.CurrentPartialWord.Length + 1; } return(wnd.PreProcessKeyEvent(key, keyChar, modifier)); }