(Solved) Keyboard Commands for Page Down & Page Up buttons?
Posted: Sun 29 Mar 2015, 03:21
Hi.
I'm using keybord commands in a gtkdialog gui to scroll through a list of images.
What would I need to use to scroll them at pages?
Below code doesn't seem to work:
Thanks.
I'm using keybord commands in a gtkdialog gui to scroll through a list of images.
But this is only for scrolling entries one after another.<action signal="key-release-event" condition="command_is_true([ $KEY_SYM = Up ] && echo true )">funcSwitchImgPreview</action>
<action signal="key-release-event" condition="command_is_true([ $KEY_SYM = Up ] && echo true )">refresh:PIXMAP</action>
<action signal="key-release-event" condition="command_is_true([ $KEY_SYM = Down ] && echo true )">funcSwitchImgPreview</action>
<action signal="key-release-event" condition="command_is_true([ $KEY_SYM = Down ] && echo true )">refresh:PIXMAP</action>
What would I need to use to scroll them at pages?
Below code doesn't seem to work:
I'm searching for the parts/commands marked up.<action signal="key-release-event" condition="command_is_true([ $KEY_SYM = PageUp ] && echo true )">funcSwitchImgPreview</action>
<action signal="key-release-event" condition="command_is_true([ $KEY_SYM = PageUp ] && echo true )">refresh:PIXMAP</action>
<action signal="key-release-event" condition="command_is_true([ $KEY_SYM = PageDown ] && echo true )">funcSwitchImgPreview</action>
<action signal="key-release-event" condition="command_is_true([ $KEY_SYM = PageDown ] && echo true )">refresh:PIXMAP</action>
Thanks.