Exemplo n.º 1
0
 public static bool PreProcessKeyEvent(Gdk.Key key, char keyChar, Gdk.ModifierType modifier)
 {
     if (!IsVisible)
     {
         return(false);
     }
     return(wnd.PreProcessKeyEvent(key, keyChar, modifier));
 }
Exemplo n.º 2
0
 public static bool PreProcessKeyEvent(KeyDescriptor descriptor)
 {
     if (!IsVisible)
     {
         return(false);
     }
     return(wnd.PreProcessKeyEvent(descriptor));
 }
Exemplo n.º 3
0
 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));
 }