|
Methods
|
|
__init__
cur
next
prev
set_cur
|
|
|
__init__
|
__init__ (
self,
*args,
*kwargs,
)
|
|
|
cur
|
cur ( self )
returns the element at the current cursor.
|
|
|
next
|
next ( self )
increments the cursor, and returns the new current idx.
|
|
|
prev
|
prev ( self )
decrements the cursor, and returns the new current idx.
|
|
|
set_cur
|
set_cur ( self, idx )
Sets the current cursor to the given idx.
|
|