diff options
author | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:44:05 +0000 |
---|---|---|
committer | Daniel Baumann <daniel.baumann@progress-linux.org> | 2024-04-15 19:44:05 +0000 |
commit | d318611dd6f23fcfedd50e9b9e24620b102ba96a (patch) | |
tree | 8b9eef82ca40fdd5a8deeabf07572074c236095d /src/devices/xditview/GXditview.ad | |
parent | Initial commit. (diff) | |
download | groff-f22bf21391d2b916c7303c565592ae6e99efbb58.tar.xz groff-f22bf21391d2b916c7303c565592ae6e99efbb58.zip |
Adding upstream version 1.23.0.upstream/1.23.0upstream
Signed-off-by: Daniel Baumann <daniel.baumann@progress-linux.org>
Diffstat (limited to 'src/devices/xditview/GXditview.ad')
-rw-r--r-- | src/devices/xditview/GXditview.ad | 71 |
1 files changed, 71 insertions, 0 deletions
diff --git a/src/devices/xditview/GXditview.ad b/src/devices/xditview/GXditview.ad new file mode 100644 index 0000000..549f0d7 --- /dev/null +++ b/src/devices/xditview/GXditview.ad @@ -0,0 +1,71 @@ + +GXditview*shapeStyle: rectangle + +GXditview.paned.allowResize: true +GXditview.paned.label.skipAdjust: true +GXditview.paned.viewport.skipAdjust: false +GXditview.paned.viewport.showGrip: false +GXditview.paned.viewport.allowVert: true +GXditview.paned.viewport.allowHoriz: true +GXditview.paned.viewport.forceBars: true +! viewport size = papersize * resol + scrollbarthickness + 1 +! letter size paper +!GXditview.paned.viewport.width: 652 +!GXditview.paned.viewport.height: 840 +! a4 size paper +! 865 is wide enough for a page of X100-12. +GXditview.paned.viewport.width: 865 +GXditview.paned.viewport.height: 892 +GXditview.paned.viewport.Scrollbar.thickness: 14 + +GXditview.geometry: 865x892 + +GXditview.paned.translations: #augment \ + <Key>Next: NextPage()\n\ + <Key>n: NextPage()\n\ + <Key>space: NextPage()\n\ + <Key>Return: NextPage()\n\ + <Key>Prior: PreviousPage()\n\ + <Key>p: PreviousPage()\n\ + <Key>b: PreviousPage()\n\ + <Key>BackSpace: PreviousPage()\n\ + <Key>Delete: PreviousPage()\n\ + <Key>g: SelectPage()\n\ + <Key>o: OpenFile()\n\ + <Key>r: Rerasterize()\n\ + <Key>q: Quit() +GXditview.paned.viewport.clip.translations: #augment \ + <Btn1Down>: XawPositionSimpleMenu(menu) MenuPopup(menu) +GXditview.paned.label.translations: #augment \ + <Btn1Down>: XawPositionSimpleMenu(menu) MenuPopup(menu) +GXditview.paned.viewport.vertical.accelerators: #override \ + <Key>k: StartScroll(Backward) NotifyScroll(FullLength) EndScroll()\n\ + <Key>j: StartScroll(Forward) NotifyScroll(FullLength) EndScroll()\n\ + <Key>Up: StartScroll(Backward) NotifyScroll(FullLength) EndScroll()\n\ + <Key>Down: StartScroll(Forward) NotifyScroll(FullLength) EndScroll() +GXditview.paned.viewport.horizontal.accelerators: #override \ + <Key>h: StartScroll(Backward) NotifyScroll(FullLength) EndScroll()\n\ + <Key>l: StartScroll(Forward) NotifyScroll(FullLength) EndScroll()\n\ + <Key>Left: StartScroll(Backward) NotifyScroll(FullLength) EndScroll()\n\ + <Key>Right: StartScroll(Forward) NotifyScroll(FullLength) EndScroll() + +GXditview.menu.nextPage.label: Next Page +GXditview.menu.previousPage.label: Previous Page +GXditview.menu.selectPage.label: Goto Page +GXditview.menu.print.label: Print +GXditview.menu.openFile.label: Open +GXditview.menu.quit.label: Quit + +GXditview.promptShell.allowShellResize: true +GXditview.promptShell.promptDialog.value.translations: #override \ + <Key>Return: Accept() \n\ + <Key>Escape: Cancel() + +GXditview.promptShell.promptDialog.accept.label: Accept +GXditview.promptShell.promptDialog.accept.translations: #override \ + <BtnUp>: Accept() unset() + +GXditview.promptShell.promptDialog.cancel.label: Cancel +GXditview.promptShell.promptDialog.cancel.translations: #override \ + <BtnUp>: Cancel() unset() + |