scroll-page: Add custom metavar for navigate-*.
This commit is contained in:
parent
cdde1d7dfc
commit
6b550defae
@ -644,8 +644,10 @@ class CommandDispatcher:
|
|||||||
@cmdutils.register(instance='command-dispatcher', hide=True,
|
@cmdutils.register(instance='command-dispatcher', hide=True,
|
||||||
scope='window', count='count')
|
scope='window', count='count')
|
||||||
def scroll_page(self, x: {'type': float}, y: {'type': float}, *,
|
def scroll_page(self, x: {'type': float}, y: {'type': float}, *,
|
||||||
top_navigate: {'type': ('prev', 'decrement')}=None,
|
top_navigate: {'type': ('prev', 'decrement'),
|
||||||
bottom_navigate: {'type': ('next', 'increment')}=None,
|
'metavar': 'ACTION'}=None,
|
||||||
|
bottom_navigate: {'type': ('next', 'increment'),
|
||||||
|
'metavar': 'ACTION'}=None,
|
||||||
count=1):
|
count=1):
|
||||||
"""Scroll the frame page-wise.
|
"""Scroll the frame page-wise.
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user