4 using bytex64.WebThing;
6 public class FFNav : WebThingPlugin {
9 public override void Init(WebThing wt) {
13 public override void InitWebView(WebView wv) {
14 wv.KeyPressEvent += WebView_KeyPress;
17 private void WebView_KeyPress(object o, KeyPressEventArgs e) {
18 WebView wv = (WebView) o;
19 if ((e.Event.State & Gdk.ModifierType.Mod1Mask) != 0) {
28 } else if ((e.Event.State & Gdk.ModifierType.ControlMask) != 0) {
32 wt.Tabs.CurrentPage = wt.Tabs.NPages - 1;
37 case Gdk.Key.ISO_Left_Tab:
38 if (wt.Tabs.CurrentPage == 0)
39 wt.Tabs.CurrentPage = wt.Tabs.NPages - 1;
44 if (wt.Tabs.CurrentPage == wt.Tabs.NPages - 1)
45 wt.Tabs.CurrentPage = 0;
52 case Gdk.Key.BackSpace: