[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Groff] gxditview feature request
From: |
Werner LEMBERG |
Subject: |
Re: [Groff] gxditview feature request |
Date: |
Fri, 25 May 2007 09:18:51 +0200 (CEST) |
> To make the scrollbars "grab" these key presses no matter where the
> input focus is I believe Intrinsic accelerators should be used, e.g.
>
> GXditview.*.viewport.vertical.accelerators: #override \
> <Key>1: StartScroll(Forward) NotifyScroll(Proportional) EndScroll()\n\
> <Key>2: StartScroll(Backward) NotifyScroll(Proportional) EndScroll()
>
> but the application must "install" accelerators, e.g.
> XtInstallAccelerators(), to link a possible source hierarchy of the
> event with the destination widget that should handle them. I don't
> think the Athena Paned widget does this automatically, but could be
> wrong.
Any expert here who could provide a patch? I don't have any knowledge
on X11 programming (and no time to learn it). :-(
Werner