View Single Post
Old 12-20-2015, 03:13 PM   #131
KevinH
Sigil Developer
KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.KevinH ought to be getting tired of karma fortunes by now.
 
Posts: 8,887
Karma: 6120478
Join Date: Nov 2009
Device: many
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.
KevinH is offline   Reply With Quote