No, you should not use calls to the wrapper directly. ie. not bk._w ...
The correct call is direct to the bk object. See the bookcontainer.py code in the developers manual.
bk.spine_insert_before(pos, sid, linear, properties=None)
If you set the position, pos, to -1 or something greater than the number of current spine entries, it will append it to the end of the current spine.
Last edited by KevinH; 12-20-2015 at 03:23 PM.
|